views:

123

answers:

2

Hi,

Can we write a windows service for windows mobile (Compact framework) which shall be activated on device start. Can you pl. provide link to resource / sample code for the same.

Thanks.

+2  A: 

You can't use Compact Framework for the development of a windows service. This is an article in MSDN about writing services for Windows CE.

For a regular application, this question has some ideas on how you can make it to automatically launch on start up.

kgiannakakis
+1  A: 

There is a CodePlex project that you can check out that is likely going to be your best best for creating a Windows Server on a windows mobile device.

And there is a related blog article you can check out for more details.

Managed Services for Windows Mobile

Services for Windows Mobile in managed code

CJCraft.com