Troy Johnson
2003-10-10 16:43:36 UTC
I have a DCOM server that maintains information that needs
to be accessed by multiple clients. The clients use
CoCreateInstance to get a smart pointer to the server.
Sometimes the CoCreateInstance call actually launches a new
instance of the exe server which creates a horrible problem
since the clients are now operating on different data. How
can I force a client to use an existing instance of the
DCOM server. Also, is there any way to know if there is an
instance running?
to be accessed by multiple clients. The clients use
CoCreateInstance to get a smart pointer to the server.
Sometimes the CoCreateInstance call actually launches a new
instance of the exe server which creates a horrible problem
since the clients are now operating on different data. How
can I force a client to use an existing instance of the
DCOM server. Also, is there any way to know if there is an
instance running?