COM related Exception 0x80010106 (Cannot change thread mode after it is set) when calling CurrentApp:LicenseInformation->IsActive

4

When I run the Windows Phone 8 project it crashes on this line:

CurrentApp::LicenseInformation->IsActive;

The error message is Microsoft C++ exception: Platform::COMException ^ at memory location 0x00ABE848. HRESULT:0x80010106 (Cannot change thread mode after it is set).

The error code is detailed here http://support.microsoft.com/kb/824480 but I don't understand what I can do because I am calling a function which seems to wrap some COM initialisation.

c++
exception
com
windows-runtime
windows-phone-8
asked on Stack Overflow Dec 14, 2012 by (unknown user)

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0