Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Concurrency » Thread Apartment   (RSS)
.NET Thread Apartment and COM Interop
Before a thread can call into a COM object it has to define its apartment by declaring whether it will enter a single-threaded apartment (STA) or a multi-threaded apartment (MTA). STA client threads call CoInitialize(NULL) or CoInitializeEx(0, COINIT_APARTMENTTHREADED) Read More...
Page view tracker