It has arisen that I need to be able to talk from my application (C#) to
another application (unmanaged C++) that runs in a different thread, and vice
versa. I have tried the COM interop, but I keep getting new copies of the
class instantiated, instead of talking to the one alreay running. I cannot
seem to get a localserver32 established for my C# assembly.
How should I proceed to get my already running applications to speak to each
other?
COM+, .NET Remoting, something else?
Can someone point me in the right direction?
Howard Swope - 07 Jan 2005 21:39 GMT
If you implement your COM object as a singleton then if you call
CoCreateInstance you will be returned a pointer to the single instance of
your object.
> It has arisen that I need to be able to talk from my application (C#) to
> another application (unmanaged C++) that runs in a different thread, and vice
[quoted text clipped - 8 lines]
>
> Can someone point me in the right direction?