I am trying to do some OLE automation.
There are two possible scenarios that occur when my client tries to "talk" to my server.
A. Server is already running. Client does its thing properly, and when finished, the server keeps running. (This is the desired behavior)
B. Server is not already running. When client requests the interface, the server EXE is automatically launches and the client does its thing properly. This is good. However, as soon as the client is done with the interface, the server EXE closes. (This is not the desired behavior)
In scenario B, how do I make it so the server continues to run after the client is done with it? (i.e., never automatically closes)