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.

10.1 JOJOのパーティーに行って、楽しみにする。

10.1JOJO翻訳組パーティーを行って、楽しいですね。

Wednesday, September 27, 2006

Check Keyboard and Mouse State

Learn a knowledge from coworker
GetAsyncKeyState