WH_JOURNALRECORD and WH_JOURNALPLAYBACK

WH_JOURNALRECORD and WH_JOURNALPLAYBACK

Post by cck » Thu, 21 Nov 2002 19:54:28



WH_JOURNALRECORD and WH_JOURNALPLAYBACK

I try to use SetWindowsHookEx() and use two Hook type
WH_JOURNALRECORD and WH_JOURNALPLAYBACK to make
a capture and playback mechanism.

while on WH_JOURNALRECORD ,I store every messages that
the hookproc received,
and On WH_JOURNALPLAYBACK
I feed the messages I stored  previously.

It seems works now,but still have some problems
while playback those messages.

1. it has TIME DELAY phenomena.
2. it has some messages lost phenomena.
   the lost messages seems depends on system loading..
   sometimes won't lost,but some times do  if repeat playback
   those messages recorded only once.

could someone have been done works like I do..??
any comment will be appreciate..