Share via

CoCreateInstance function occansionally fails with HRESULT -2147023113 (0x800706F7)

Woodall, Keith S 0 Reputation points
2024-03-27T23:42:35.35+00:00

Visual Studio and runtime 10.0.22621.0.

Occasionally our CoCreateInstance call will fail with -2147023113 when instantiating a 32 bit COM C++ DLL.

I can't find 0x800706F7. The closest (in Windows Kits/10/Include/10.0.22621.0/cppwinrt/winrt/base.h is

code == static_cast<int32_t>(0x800706BA) || // HRESULT_FROM_WIN32(RPC_S_SERVER_UNAVAILABLE)

Am I missing a header file?

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.