Usually one would write a console app or a app where you can control the
message pump so the UI isn't shown until required. You normally hide the app
from the memory applet so it can't be killed. You would also place a
shortcut in the start menu for it to load when the device boots.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://www.simonrhart.com
"Mike Margerum" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Can I build a windows service in C++ to run on a windows mobile device?
>
> I have a small C++ windows mobile application that shuttles data between a
> windows mobile device and an HTTP server. I need this program to always
> be running. I don't want this application to be terminated by windows
> mobile when its looking to free up memory.
>
> Is there any way to do this on windows mobile?
>
> Thanks!