Home > Back-end >  Delphi middleware SQLConnection connection timeout problems?
Delphi middleware SQLConnection connection timeout problems?

Time:05-24

I use the SQLConnection connect server middleware, if the server opens the service, will soon be connected, if the server shut down the service, the side of the SQLConnection must wait 15 seconds to prompt the connection fails,
Test I use multithreading countdown in the background, 5 seconds without the connection is successful tips to reconnect, but you don't succeed, must wait until SQLConnection give hints, my multithreaded countdown to hint, I tested a afternoon, with a number of ways are not, like SQLConnection1. Connected:=True when all interface and threads are stopped, have a great god to give a solution?

CodePudding user response:

A line in front of the code to join the application. The proce * * message; Forget how to spell the

CodePudding user response:

ProcessMessages cycles corresponding external events
  • Related