Thursday, September 28, 2006

Run Message loop under service

Learn from coworker (Yang and Fu)

1. Implement OnStart Callback
2. new a thread to generate a message loop, use a
class to implement ApplicationContext, then use
Application.Run(ApplicationContext);
3. Then we got a handle as the normal application.
we can hook the mouse and keyboard event on it.

0 Comments:

Post a Comment

<< Home