Can you use C # to call a function inside another running process written in C / C ++?
I know that you can do this with C ++ by introducing a DLL that launches the remote thread, listens for the associated keystrokes, and calls the required function, whose signature and address are defined.
The C ++ to C ++ tutorial is here: http://www.codeproject.com/Articles/29527/Reverse-Engineering-and-Function-Calling-by-Addres#Applying
If I remember correctly, in the past I also read that you cannot embed a managed DLL (C #) into an unmanaged process (C ++). But maybe there is another way ...
The reason I would like to do this is to redesign the computer game and write small hacks in C #, a language I am familiar with.
source share