Most of my work lately has been writing .net CF apps to run on a Symbol 9090G device. The 9090G is a Windows CE 5.0 device with a barcode scanner built in. The applications I'm writing are built on .net CF 2.0 and use MSMQ extensively. It took a while to figure out how to get MSMQ running so I'm documenting the process here.
When you deploy a .net CF app from Visual Studio, the framework is deployed to the device automatically. You can find the cab file to install the framework manually here:
C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\wce500\armv4i\NETCFv2.wce5.armv4i.cab
If you can't find it there, you can install the Windows Mobile 5.0 SDK for Pocket PC then you should be able to find it here: C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\wce500\armv4i\NETCFv2.wce5.armv4i.cab
Visual Studio 2005 doesn't come with an emulator for CE 5.0, but it can be downloaded here:
Microsoft Windows CE 5.0 Device Emulator
The Symbol 9090G has the MSMQ dlls already installed but it needs to be configured. The easiest way I've found is to use the visadm tool. Visadm.exe is not installed on the device, but it can be found in the MSMQ.arm.cab file in the
Redistributable Server Components for Windows Mobile 5.0
Once visadm.exe is on the device, you can use it to configure MSMQ by performing the following steps:
1. Click Shortcuts-Install
2. Click Shortcuts-Register
3. Enter enable binary in the textbox and press the run button
4. Enter enable srmp in the textbox and press the run button
Reboot the device and it should be ready to go.