• My Errors
  • Login
  • Search
Search again

Error #132076

ActiveX control '6bf52a52-394a-11d3-b153-00c04f79faa6' cannot be instantiated because the current thread is not in a single-threaded apartment.

User's solution

This works!
+7 Vote Up

This happened inside of a COM Addin that was calling the Windows Media Player. The solution was to wrap the call to the form in a separate thread and to specify the STA apartment to it explicitly.

Jan 21, 2010