Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Hi !
After successfully inject .dll file into a target process, i' would like to run it but how can i do this !!
I' know how to do it into my application by adding the dllMain() function ...
But in the target process how can it be achived ??
I read many articles talking about windows Hook but i would like to understand the method !
Thnx :)
Posted
Comments
Richard MacCutchan 19-Aug-14 13:54pm    
If you are injecting it into a different process then that process needs to call some method in the dll. Or your program needs to do that. Maybe you should explain more clearly what you are trying to do.
3a©roub 19-Aug-14 19:39pm    
Yes this is what i'm looking for: injecting my Dll into a different process then that process needs to call some method in the dll e.g the function DllMain() ...
Richard MacCutchan 20-Aug-14 3:25am    
And how are you going to make an independent process suddenly call into a dll that it knows nothing about?
3a©roub 20-Aug-14 6:33am    
The dll was injected successfully in the target process (e.g chrome.exe) !
but how to run it from "chrome.exe" !!
"chrome.exe" must call the function DllMain () to start the dll's work!
I know it is possible to do this and through the injection of code (loader) in the target process and well precisely in an empty space {0}
but until now i dont have necessary code ... :/
Richard MacCutchan 20-Aug-14 6:55am    
I know it is possible to do this
Sorry, but I don't.

1 solution

Hello! i have the same problem! if anybody can help that would be nice :D
 
Share this answer
 
Comments
3a©roub 19-Aug-14 19:40pm    
Any prgress with your project ??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900