lwallace@javelin.es.com (Lynn Wallace) (03/03/91)
I need to count messages in my application. So I SetWindowsHook() and can watch my filter function execute (it doesn't do anything but pass everything on if Windows wants it to, via the nCode parameter). But when I try to UnhookWindowsHook() it creates a general protection fault. I believe I've place the DefHookProc address in fixed memory; it's declared static global at the top of my program, and I've change the .def to FIX my code and data. Another case of the documentation being insufficient... -- Lynn Wallace |I am not an official representative of Evans and Sutherland Computer Corp.| <- E&S. Or for that matter, unofficial. Salt Lake City, UT 84108 |Internet: lwallace@javelin.sim.es.com War not make one great! -- Yoda