Hi All,
We have a background EXE that sends short messages via WinSock to clients over the Internet. For each client there is a connect then a send. The whole thing takes around 10 seconds for all clients. Testing shows that ON SHUTDOWN <someProc> works for only a brief period. If the computer shuts down, we need to send messages to all clients, but <someProc> does not finish executing.
Any ideas? Is there an alternative? Some ShutDown listener Win API maybe (I cannot find yet)?
Thanks,
Vern
We have a background EXE that sends short messages via WinSock to clients over the Internet. For each client there is a connect then a send. The whole thing takes around 10 seconds for all clients. Testing shows that ON SHUTDOWN <someProc> works for only a brief period. If the computer shuts down, we need to send messages to all clients, but <someProc> does not finish executing.
Any ideas? Is there an alternative? Some ShutDown listener Win API maybe (I cannot find yet)?
Thanks,
Vern