This article has not been rated yet. After reading, feel free to leave comments and rate it.
The most important changes in thread programming with Delphi 6 versus Delphi 5 are:
Synchronize() can only be called from secondary threads and not the main thread.
CheckSynchronize() must be pumped. Under a normal GUI the TApplication object does this for you in its Idle method.
Unhandled exceptions in TThread.Execute() will no longer bring down the entire app. ThreadProc now has a try/except and there's now a TThread.FatalException property. This means that if you are using a try/except for the sole purpose of app stability (and not to handle the exception) then this try/except is now redundant.
Comments:
2007-06-13, 00:44:32
anonymous from India
This is very usefull info as at presently I am working on thread application.
Best regareds,
AJP