I’ve recently noticed this string in my project’s output:
onecore\com\combase\objact\objact.cxx(834)\combase.dll!00007FF824B17213: (caller: 00007FF824B164D6) ReturnHr(1) tid(1bd8) 800401F0 CoInitialize has not been called.
After some quick debugging, I’ve tracked down the line causing said string to be printed:
if (XInputGetCapabilities(index, 0, &xic) != ERROR_SUCCESS)
line 553 in win32_joystick.c from glfw3.3
Here’s the callstack:
| |Engine.dll!_glfwDetectJoystickConnectionWin32() Line 554|C|
| |Engine.dll!_glfwInitJoysticksWin32() Line 510|C|
| |Engine.dll!_glfwPlatformInit() Line 583|C|
| |Engine.dll!glfwInit() Line 230|C|
Everything seems to be working fine, but I’d still like to make sure there aren’t any problems. Furthermore, is there a way to fix this? I’d rather keep my output as clean as possible.