|
-
January 26th, 2004, 02:01 AM
#1
Access Violation error
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|