system wide hook
Posted on 2001-06-03
I am using a system wide hook (CBT, Keyboard, and mouse), and therefore I had to write a DLL. When I first wrote this DLL I was having all kind of problems in Windows 95 (that was 3 years ago) until someone told me to compile the DLL with Delphi 2 (instead of Delphi 3 at the time).
I tried this again in Delphi 5 and still the same problem - some MPREXE violation occurs.
I wiuld continue to compile the DLL with D2, but now I have a different error that occurs with the DLL compiled with D2, but not with D5.
When compiling the DLL with D5, is there anything special I need to set for a DLL used as a hook?