- I have a program in C++ running on a computer and cannot change the code (But I can see the source code).
- Now, I want to call some methods from this running program/process using my C# project.
- The C++ program changes its objects in runtime. So importing the dll is not helpful in this case.
What is the best practice? Is it possible to get that process (by Process.GetProcessesByName) and somehow call a function of it in my c# project?