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
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,724 questions
0 comments No comments
{count} votes