Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!sdd.hp.com!elroy.jpl.nasa.gov!hacgate!ashtate!dbase!jamesc From: jamesc@dbase.A-T.COM (James Chuang ) Newsgroups: comp.windows.ms.programmer Subject: Re: GetProcAddress() in a DLL Keywords: win3 DLL SetWindowsHook Message-ID: <1991May22.145944.27437@dbase.A-T.COM> Date: 22 May 91 14:59:44 GMT References: <1991May15.133642.40@mgc.uucp> <1991May21.205525.10557@dbase.A-T.COM> Reply-To: jamesc@dbase.UUCP (James Chuang ) Organization: Ashton-Tate Lines: 15 Okay, I got a hook of JOURNALRECORD going. The only thing the callback function does is call Messagebeep() currently. So as I move the mouse, the machine beeps like crazy. However, as soon as I launch an app, such as Notepad, a UAE comes up, and the system hard crashes. CVW shows a failure somewhere in windows. Would anyone please share experience in using JOURNALRECORD? Also, since SetWindowsHook() returns NULL for the next filter in chain, does my callback function need to call DefWindowsHook? if so, what do I call it with? Is there a good book with all this in it? I know Petzold`s doesn't address this.... thanks jamesc #include