drk76
January 26th, 2004, 01:01 AM
Hi Everyone,
I am using SetWindowLong() function to override the default window proc of another application.
Everything works fine I am able to process some of the message sent to the application.
Now I want to automaticaly setback the Orignal window proc using SetWindowLong() the application unloads my dll.
I have tried putting the code(SetwindowLong) in DllMain()--under DLL_PROCESS_DETACH. but the application crashes. When I do this.
While I run it in Debug mode
I am getting a Access Violation Error.
please help.....
drk76
I am using SetWindowLong() function to override the default window proc of another application.
Everything works fine I am able to process some of the message sent to the application.
Now I want to automaticaly setback the Orignal window proc using SetWindowLong() the application unloads my dll.
I have tried putting the code(SetwindowLong) in DllMain()--under DLL_PROCESS_DETACH. but the application crashes. When I do this.
While I run it in Debug mode
I am getting a Access Violation Error.
please help.....
drk76