I’m not sure if this question makes sense, but it has been pretty hard to find information so far.
My objective is to “attach” a process to another one that is already running. I’m not trying to debug either of them, I just want to access objects/context from the last.
I have read about ICorDebug interface, implemented an example with it (using DebugActiveProcess()) but couldn’t simulate what i want to achieve.
My objective is to have a process running with a singleton instance in it and use this instance as a context in a second process (I have assemblies and type infos for both).
This is my first question here, be kind =)
No you cannot access another processes address space. That would be a huge security violation. (In old windows and DOS you could).
Shared memory is one way to share data between processes: How to implement shared memory in .NET?