 
- 帖子
- 766
- 积分
- 1457
- 技术
- 119
- 捐助
- 0
- 注册时间
- 2010-5-12
|
隐约记得ActiveX控件都是单线程模型?
powerbat 发表于 2013-4-30 19:29 
COM有4种线程模型
ThreadingModel="Both" indicates that instances of the class can execute in either an MTA or an STA.
ThreadingModel="Free" indicates that instances of the class can execute only in an MTA.
ThreadingModel="Apartment" indicates that instances of the class can execute only in an STA.
ThreadingModel="Absent" implies that instances of the class can run only in the main STA or the first STA initialized in the process. |
|