Can't reference library with Smart Device in Visual Studio

  • Thread starter Thread starter Guest
  • Start date Start date
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!
 
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
 
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
 
Back
Top