Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   DCOM calls from thread pool threads: CoInitialize/CoUnitialize location and expensive (https://www.delphipraxis.net/208201-dcom-calls-thread-pool-threads-coinitialize-counitialize-location-expensive.html)

DP News-Robot 24. Jun 2021 12:10

DCOM calls from thread pool threads: CoInitialize/CoUnitialize location and expensive
 
Interesting takeaway from [WayBack] DCOM calls from thread pool threads call CoInitialize* at the start, and call CoUninitialize*before returning. Expensive, but necessary Related: [WayBack] 123683 – CoInitialize should be called at most once per thread [WayBack] c++ – Is CoInitialize(NULL) call expensive after CoInitializeEx(NULL, COINIT_MULTITHREADED) on the same thread? – Stack Overflow [WayBack] OLE DB […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:08 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