I have a COM library I should use in my ASP.NET MVC application. However I am unsure about its thread apartment model. How can I determine it?
+3
A:
Determine the component's CLSID (HKEY_CLASSES_ROOT\{component's progid}\CLSID key in the registry). Then lookup HKEY_CLASSES_ROOT\CLSID\{component's clsid}\InprocServer32\ThreadingModel.
Kyle Alons
2010-04-27 16:11:27
BINGO. Thank you.
Jakub Šturc
2010-04-27 16:19:24
+1
A:
The OLE/COM Object Viewer also shows the threading model for components.
Georg Fritzsche
2010-04-27 16:19:21