|
-
Oct 6th, 2000, 03:57 AM
#1
Thread Starter
Junior Member
I am having a problem with the EVENTMSG structure of the JournalProc. I set a JournalRecord Hook and the SetwindowsHookEx was succesful the Callback function is being called regularly but i am unable to interpret the EVENTMSG structure. i Declared the EVENTMSG structure based on the MSDN declaration.
Can anybody help me.
reply to
<[email protected]>
-
Oct 7th, 2000, 08:24 AM
#2
Fanatic Member
Code:
Type EVENTMSG
wMsg As Long '//Message
lParamLow As Long '//Low-order bit of lParam
lParamHigh As Long '//High-order bit of lParam
' msgTime As Long
' hWndMsg As Long
End Type
and wMsg can only be mouse or keyboard messages, since it is a journalproc thing.
If you already knew this, please post back because I have a working journalproc and I don't see why your's shouldn't work.
Moi.
-
Oct 8th, 2000, 08:14 AM
#3
Thread Starter
Junior Member
that was the exact way in which i declared but you seemed to comment out the time and hwnd members which i did not do. when i sent a string buffer i got the key codes but it was difficult in that matter. could you send me your project. also do you know anyone who has achevied system hooks without C Dll's i was succesfull with thread hooks but not system hooks.
Thank for your reply.
reply to
<[email protected]>
-
Oct 8th, 2000, 11:32 AM
#4
Fanatic Member
I'm afraid that you really do need an external DLL (which VB cannot make) to hook other threads. I'll send you the project. I'ts just a kind of keylogger. I'm a naughty boy .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|