Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
14.979 Beiträge
 
#1

Delphi: when calling TThread.Synchronize, ensure the synchronised method handles exce

  Alt 17. Sep 2019, 06:10
Since about a decade, TThread*has a few overloaded [WayBack] Synchronize*methods which all allow some specified synchronised method to run in the context of the main thread: [WayBack]*TThread.Synchronize Method (TThreadMethod) [WayBack]*TThread.Synchronize Method (TThreadProcedure) [WayBack]*TThread.Synchronize Method (TThread, TThreadMethod) [WayBack]*TThread.Synchronize Method (TThread, TThreadProcedure) Any exceptions raised in that methods are caught using [WayBack]*System.AcquireExceptionObject and re-

Weiterlesen...
  Mit Zitat antworten Zitat