10-30-2007 08:11 AM
10-30-2007 08:59 AM
@+30 wrote:
I Have a DLL that works in .net (in an app for pocket pc)...(pda is a Symbol ptt8800)
I want that dll to work with labview.
I have an app. in .net that is doing a lot of thinks.One of that is that i can read a barcode from pda's scanner.(this model
of pda have a barcode reader on it,that is not always open)
To do this,the app is calling a dll (Symbol.Barcode.dll)
I don't know how i can call this dll in my pocket pc labview application.i have read in ni's site a lot of pdf but i didn't manage.
If someone can help pls answer...
i give u the dll and u can see those with microsoft visual studio .net
I'm not sure how you intend to call a .Net dll in a pocket PC system. As far as I know there is no .Net support in Pocket PC nor the newer Windows Mobile. A dll compiled to run on the host system under Windows 32bit (x86 architecture) can surely not run directly under Pocket PC (typically ARM based architecture).
If you want to call the .Net DLL on your host system then you simply use the LabVIEW .Net interface nodes.
Rolf Kalbermatter
10-31-2007 03:26 AM
10-31-2007 04:19 AM
@+30 wrote:
hello Rolfk,
The dll that i'm telling u is for pocket pc windows 2003.
I used this dll with .net to build an application for pocket pc (with vb.net ) and it worked.
I want now to build an application with labview,and i want to use this dll.
Can i?
And if i can,How?
The problem is that i have this pocket pc.It has a barcode scanner that i want to work with.
To enable tha barcode scanner with th vb.net application i call the dll.
With labview how can i enable this scanner?
I have no idea. To my knowledge the LabVIEW PDA module does not have .Net support, only LabVIEW for Windows does have that. I still have some serious doubts that an entire .Net runtime is even available under Pocket PC OS. But you say it is so you will be better suited to investigate that than myself.
Rolf Kalbermatter
10-31-2007 06:10 PM
10-31-2007 11:57 PM
11-01-2007 02:09 AM
@Eric A. wrote:
You should be able to call your DLL relatively easily in LabVIEW for PDA. If you havn't seen this knowledge base article yet, take a look. If you know how to call DLL's in LabVIEW then you should already have a good idea of how to do it.
How To Call External Code in LabVIEW PDA for Pocket PC
I hope this helps.
Regards,
Well, not having seen the DLL I wouldn't be so sure. A .Net assembly is also inside a DLL but there is no way you could call it with the Call Library Node. If it is however a normal C DLL, created with whatever C(++/#) compiler then yes that will work.
Rolf Kalbermatter
11-01-2007 10:18 AM
11-02-2007 03:12 AM
@Eric A. wrote:
Hi,
Good point Rolfk. It is true that the DLL has to be compatible before anything else can work.
And I did look at the DLLs in the first post in the meantime. They are definitely .Net assemblies, both from the naming as the internal binary format. As far as LoadLibrary/GetProcAdress (and with that the Call Library Node) are concerned they export absolutely nothing!!
So the OP will have to be more specific if he wants to use these DLLs in a host application (which should be easy with the .Net functionality in LabVIEW for Windows) or in a deployed PDA application (which I wouldn't know if the DLL even could run on, but definitely won't be accessible from a deployed LabVIEW PDA client app).
Rolf Kalbermatter