Setting up MSMQ on Windows CE 5.0

by Mark Milec 4/7/2008 8:39:00 AM

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.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,

Related posts

Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

8/20/2008 2:16:01 PM

Powered by BlogEngine.NET 1.3.1.0
Theme by Mads Kristensen

About the author

Name of author Mark Milec
Senior Application Developer at Atlas Tube

View Mark Milec's profile on LinkedIn E-mail me Send mail

Calendar

<<  August 2008  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

View posts in large calendar

Pages

    Recent posts

    Recent comments

    Don't show

    Archive

    Authors

    Categories

    None


    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in