Pocket PC service app with .NET CF

T

Tihomir Ignatov

Hi,
Can I create a service (background) application for PPC, using .net compact
framework ?
Thanks!

Regards
Tihomir Ignatov
 
S

Sergey Bogdanov

Just create a command line application, implement a loop that will wait
for some quit event. For instance program can be signaled to quit by
another application. There are some important function to implement IPC
between your application and application that will be controlling your
application:

Core.CreateEvent (create named event)
Core.SetEvent (signal named event)
Core.WaitForSingleObject (wait for signal, otherwise continue looping)

see
http://www.opennetcf.org/SourceBrow...netPub/wwwroot/Source/OpenNETCF/Win32/Core.cs


Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top