代码改变世界

Current thread must be set to single thread apartment (STA) mode before OLE

2013-04-06 22:44  hongjiumu  阅读(1335)  评论(0编辑  收藏  举报

Current thread must be set to single thread apartment (STA) mode before OLE
原因很简单:
就是有assembly的project,又有同名的winform的exe.net在运行的时候调用异常啊!