HELP NEEDED - DCOM Server in C#?
-
I have a problem that I have not been able to resolve. I have a C# exe where I have exposed some interfaces. My problem is that every call to createobject creates a new instance of the application. What I need is one running application from which a client can connect to. Scenario 1: Application is launched from command line. User connects to existing running application using createobject (this does not work...it creates another instance) Scenario 2: Application is not running User run createobject to connect to launch application. App launches (however if another program does a createobject it creates yet another instance). I have not found anything in my searches that have helped. Someone please shed some light on this! Thanks, Loren
-
I have a problem that I have not been able to resolve. I have a C# exe where I have exposed some interfaces. My problem is that every call to createobject creates a new instance of the application. What I need is one running application from which a client can connect to. Scenario 1: Application is launched from command line. User connects to existing running application using createobject (this does not work...it creates another instance) Scenario 2: Application is not running User run createobject to connect to launch application. App launches (however if another program does a createobject it creates yet another instance). I have not found anything in my searches that have helped. Someone please shed some light on this! Thanks, Loren