Pocket PC service app with .NET CF

  • Thread starter Thread starter Tihomir Ignatov
  • Start date Start date
T

Tihomir Ignatov

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

Regards
Tihomir Ignatov
 
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
 
Back
Top