Home > Back-end >  Delphi program is running for a period of time automatically quit how to solve
Delphi program is running for a period of time automatically quit how to solve

Time:10-02

I use multithreading every minute in the timer will be used in the table data in the database into another, program began running for several hours after the program is automatically quit, don't know what the reason, I'm new hope everybody to help overcome

CodePudding user response:

Playing the log or use the windbg analysis DMP file

CodePudding user response:

Automatically quit because of the wrong, of course, catch mistakes and record to a file for future reference

CodePudding user response:

How to catch mistakes didn't write to the log file before

CodePudding user response:

You put a EurekaLog, and then see what went wrong!

CodePudding user response:

Using multithreading in the timer?

CodePudding user response:

The Timer using multithreading... Don't burst?

CodePudding user response:

Look,

CodePudding user response:

Will be not shut down the database connection, then connect the full application error dropped out?

CodePudding user response:

 
Try
{you code}
Except,
On E: the exception do
Showmessage (e.m essage); {e.m essage abnormal return string}
End
  • Related