DCOM : Connecting to a remote server
Posted on 1998-09-29
The client program I am working on contains the function CoCreateInstanceEx to connect to the server. This works great as long as the server machine is running.
However, if the system is down, the function never returns and a message box pops up saying the server is busy.
Is there some way to assign a timeout when calling this function? Or is there another function you usually call
before this one to ensure the server system is up? Thanks for your help.