Can't reference library with Smart Device in Visual Studio

G

Guest

I am developing an application to run on WindowsCE on a mobile bar code
scanner. I am using the Smart Device option in Visual Studio.Net 2003 and am
unable to reference the requred Wavelink libraries (keep getting an error
saying this is not a .NET assembly - but there appears to be no option for
adding .dll files) ANY help or suggestions will be appreciated!

Thank you!
 
D

Daniel Moth

Dlls can be:
1. COM dlls
2. Windows dlls
3. .NET dlls
4. NETCF dlls

1. is not supported with NETCF 1.0

2. You have to use PInvoke (via DllImport)

3. You cannot

4. You can (via the Add Reference menu/dialog)

If the dll you are trying to add is in category 4, ignore the warning and
proceed.

Cheers
Daniel
 
C

Chris Tacke, eMVP

To modify the list just a bit:

Dlls can be:
1. COM dlls
*2. Windows CE dlls
3. .NET dlls
4. NETCF dlls
*5. Windows Desktop

2. You have to use PInvoke (via DllImport) and the DLL must be compiled for
the proper processor (i.e. an emulator x86 DLL cannot be used on a physical
ARM device)

5. Windows desktop DLLs cannot be used on the device whether they are COM or
..NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top