Hello coding-freinds !

FF has just a little error.

I have a hook dll, wich trys to note a shortcut. For a few days everything works fine, but now, it can only note the shortcut, when the window is akctivated.

This bad error occurs as i made the dll dynamically.

It have to be a stupid error, wich one could that be.

Regard FF
Posted on 2003-04-30 15:15:15 by Forginforcer
If you're using WH_CALLWNDPROC hook it may be that your window is not receiving the messages therefor you hook isn't either. Just an idea, could you supply more info about the hook function you are using ? Are you implementing the IShellLink/IPersistFile interfaces to track shortcuts ?
Posted on 2003-04-30 15:32:50 by donkey
my dll-code:

hookproc proc ...
MOV h_Wnd, EAX
INVOKE SetWindowsHookEx, WH_KEYBOARD, ADDR HookProc, hdll, NULL
MOV hhook, EAX
hookproc endp
Posted on 2003-05-01 01:27:22 by Forginforcer
Looks pretty much ok depends on your keyboard proc, I assume this is a key logger type of app, well there may be software on the system that is killing keyloggers using a WH_DEBUG hook.
Posted on 2003-05-01 01:56:53 by donkey
I also checked whether the postmessage conaints an error, but it works fine.
It seems do do net reach my dlg.
But no where the dlg handle get changed.
what could that be ?

P.S. Ich will chack for WH_DEBUG
Posted on 2003-05-01 02:06:30 by Forginforcer