C# - ActiveX control without a form
摘要:
参考http://stackoverflow.com/questions/1531512/c-sharp-activex-control-without-a-formThread thread = new Thread((ThreadStart) delegate { _myActiveX = new MyActiveXType(); _myActiveX.CreateControl(); //more initialize work Application.Run(); }); thread.SetApartmentState(ApartmentState.STA); thread.Is.. 阅读全文
posted @ 2012-03-08 16:20 枫江白露 阅读(234) 评论(0) 推荐(0) 编辑