How can i make user defined function accessible to all processes? (Windows CE)
-
-
Hello, I want a user defined function that can be called by every process running. That is: - void HelloWorld() { MessageBox(NULL, L"Hello World", "Test", 0); } I need a mechanism by which this function can be called inside every running process.
tony_udz wrote:
I need a mechanism by which this function can be called inside every running process.
Write your funtion in the DllMain() of a dll and inject it to the process you need using CreateRemoteThread() API. For more details see Three Ways to Inject Your Code into Another Process[^]
nave [OpenedFileFinder]
-
tony_udz wrote:
I need a mechanism by which this function can be called inside every running process.
Write your funtion in the DllMain() of a dll and inject it to the process you need using CreateRemoteThread() API. For more details see Three Ways to Inject Your Code into Another Process[^]
nave [OpenedFileFinder]
-
Thanks! for your reply. In Windows CE CreateRemoteThread() API is not supported. I have tried out many options but could not find a way to inject DLL.
I found this link..May be useful for you http://forum.xda-developers.com/archive/index.php/t-235792.html[^]
nave [OpenedFileFinder]