Start process with SetWindowsHookEx
Start process with SetWindowsHookEx
Hello Mathias!
Is there a way to start a process with a single SetWindowsHookEx DLL kind, injected?
Like the CreateProcessEx, but with not a MadCodeHook DLL. Thank you!
Is there a way to start a process with a single SetWindowsHookEx DLL kind, injected?
Like the CreateProcessEx, but with not a MadCodeHook DLL. Thank you!
Erm, lemme try to explain...
My program has a menu: "INJECT INTO PROCESS ->", that will inject my DLL into an openned process. BUt this DLL is a single HW_GETMESSAGE hook. So I inject it using SetWindowsHookEx. Right?
But I wish to have a manu like: "INJECT INTO NEW PROCESS..." and the user will choose the EXE that he would like to start, and this process will open with my hook alread installed, like if the first line of the program is to load my HOok.
Understand?
My program has a menu: "INJECT INTO PROCESS ->", that will inject my DLL into an openned process. BUt this DLL is a single HW_GETMESSAGE hook. So I inject it using SetWindowsHookEx. Right?
But I wish to have a manu like: "INJECT INTO NEW PROCESS..." and the user will choose the EXE that he would like to start, and this process will open with my hook alread installed, like if the first line of the program is to load my HOok.
Understand?
WaitForInputIdle -> If this process is a console application or does not have a message queue, WaitForInputIdle returns immediately. (by MSDN)
Is there a way to do for all kind of applications?
I can not use "in this case" MadCodeHook for injection, its a KeyBoardHook, and I have to keep compatibilities with some other codes. Thats because I need iimediatly, but I will port them to MadCodeHook as I will have a time
Is there a way to do for all kind of applications?
I can not use "in this case" MadCodeHook for injection, its a KeyBoardHook, and I have to keep compatibilities with some other codes. Thats because I need iimediatly, but I will port them to MadCodeHook as I will have a time