|
-
July 20th, 2010, 04:48 PM
#1
How do I write basic DLL injection file?
I'm just starting to learn Windows API. I can program a window to open, to be full screen, change colors, etc. I want to program the most basic type of DLL injection using a windows hook. Let's say I want the code to tell me when notepad is open, then inject the DLL into Notepad, then re-direct the text entered in Notepad into my other program. Can someone point me in the right direction? I realize I should use SetWindowsHookEx and CallNextHookEx. I want to use WH_CBT hook. I don't want someone to write up the code, just help me out a bit. How do I create the DLL? Would I have the main executable be the program that injects the DLL into notepad while the DLL itself if the program that sends the Notepad messages to the main program? Thanks.
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
|