What controls the timeout of COM calls?
Our software can communicate via COM with Excel. For example, Excel calls a COM function that makes our software respond to the results. However, if it takes our software more than about 3 minutes to compute these results, then for some reason the COM link is down.
Is this just the nature of COM (for a timeout if it doesn't receive a call after a certain amount of time) or are we doing something wrong?
source to share
COM has no timeout in the call. If you start a call and the server goes into an infinite loop while processing it, the call lasts forever, unless there is a communication problem between the client and the COM server.
However, there are timeouts for network connectivity issues . With the symptoms you describe, it looks like a communication problem.
source to share