COM management

From OPC Labs Knowledge Base
Revision as of 12:30, 15 February 2022 by User (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


This article applies to QuickOPC 2022.1 and later.


(TBD)

!!!

Console apps in C#
The main method runs on an MTA thread, unless specified otherwise. This is generally good, because it prevents premature COM security initialization. If COM security initialization fails, and there is an [STAThread] on the program's main method, remove it. If it still fails, add a ComManagement.Instance.AssureSecurityInitialization() call to the very beginning of the program's main method.


Configuring COM

COM security initialization

Dealing with CVE-2021-26414

!!!

COM settings in OPC Classic client components

CVE-2021-26414

KB5004442—Manage changes for Windows DCOM Server Security Feature Bypass (CVE-2021-26414)

What's new in QuickOPC 2022.1