crazyman
asked on
KTKbdHk.dll
i am using KTKbdHk.dll to hook my keyboard, this works fine on most machines but on some when i call any of the functions within that dll it doesnt return from the call for about an hour then complians that it couldnt find the dll when it is clearly in the application path.
Any ideas what could cause this?
Any ideas what could cause this?
ASKER
nope it is not a COM dll, it is a standard dll, i reference it using.
Public Declare Function HookKeyboard Lib "KTKbdHk.dll" (ByVal hWnd As Long, ByVal MsgID As Long) As Long
Public Declare Function UnhookKeyboard Lib "KTKbdHk.dll" () As Long
Public Declare Function Hooked Lib "KTKbdHk.dll" () As Long
Public Declare Function HookKeyboard Lib "KTKbdHk.dll" (ByVal hWnd As Long, ByVal MsgID As Long) As Long
Public Declare Function UnhookKeyboard Lib "KTKbdHk.dll" () As Long
Public Declare Function Hooked Lib "KTKbdHk.dll" () As Long
Hi,
I don't know the answer,but this guy using a different way to do something simular:
http://www.hackinthebox.org/threadview.php?&topicid=19&forumid=2
I don't know the answer,but this guy using a different way to do something simular:
http://www.hackinthebox.org/threadview.php?&topicid=19&forumid=2
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
well this dll has caused me nothing but grief, ive found another systemhook dll written in C++ from pscode, cheers for your input guys
Try opening .vbp file in notepad and see where it is going to.Sometimes it has wrong references.