Delphi: when calling TThread.Synchronize, ensure the synchronised method handles exce
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... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:02 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz