I'm in the process of developing a small app for the Motorola MC2100 handheld devices, and needed a way to programmatically turn off DataWedge (manually doing it in the Control Panel is not an option!) and use the Symbol.Barcode libraries (from EMDK 2.8) for collecting scanned data. I'm using VS 2008 / C# / Net 3.5
Looking around I found that I needed the DataWedgeAPI, so I downloaded and installed the MotoRola DataWedge Toolkit for 3.5 and added a reference to DataLogicAPI.tlb.
It all seemed to work OK during debugging and testing, however when I come to package my application in a CAB, the installer is identifying that the DataWedgeAPI has a dependency on the full NET version of mscorlib.dll instead of the Compact Framework one. It also has a dependency on stdole.dll which it's trying to pull from the full framework's GAC on my development PC
This means that my application is now dependent on a 4.5mb full framework library and tries to ship that to a mobile device, causing a conflict with the compact version of mscorlib.dll
Is there a version of the DataWedge API that is designed specifically for the Compact Framework, without these full framework dependencies. If not, is there a way around it - my 260k app has suddenly grown to to nearly 5mb!
Appreciate any help and advice on this