DelphiFAQ Home Search:
General :: Programming :: Delphi :: VCL
About the Delphi VCL (Visual Component Library)

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

This is the FULL list of all articles in this category.

Featured Article

Threads in Delphi 6

The most important changes in thread programming with Delphi 6 versus Delphi 5 are:

  1. Synchronize() can only be called from secondary threads and not the main thread.
  2. CheckSynchronize() must be pumped. Under a normal GUI the TApplication object does this for you in its Idle method.
  3. 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.