|
-
July 20th, 2010, 06:19 PM
#2
Re: How do I write basic DLL injection file?
First of all, I'd recommend you be careful with hooks. Because if you make a mistake more than your program may crash, though if you're only going to hook a single notepad process there's not much of a risk.
Yes, you need to have the main program load the DLL to inject it into the notepad process. The DLL would then do whatever you want it to do from inside that process.
I'd very much recommend reading the MSDN documentation on hooks. There's a decent amount of sample code and explanations of what needs to be done.
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
|