Expand Minimize
This topic has not yet been rated - Rate this topic

Potential Threading Model Issue When Hosting ActiveX Controls in WFC Forms

Visual Studio 2005

When hosting ActiveX controls in WFC Forms, you may be required to set the apartment model of the thread hosting the ActiveX control to the single threaded apartment (STA). This requirement is mostly satisfied by attaching the System.STAThread attribute to the public static void main(String[] args) method of the class.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.