Online Cheng Zhongqi best practices with Com Component

        var thread = new Thread(ThreadDo);//ThreadDo是调用COM组件的方法
        thread.SetApartmentState(ApartmentState.STA);
    thread.IsBackgound=True; thread.Start();

Guess you like

Origin www.cnblogs.com/xiaoyichong/p/11297147.html