Hi,

I have a DLL that creates a system-wide hook, which can be used in VB6. Whenever I use it, my computer is fine, but when it's turned off, it goes all weird, windows don't minimize correctly and don't appear in the tray etc. Does anyone know why this would be the case?

The dll is avaliable from:
http://www.freevbcode.com/ShowCode.A...20hook&ID=1308