A minority of our users are experiencing crashes when FMOD initializes output via WASAPI – the two functions resulting in crashes are CoCreateInstance() and IAudioClient::Initialize().
After reading Microsoft’s documentation on these functions, I am left with the impression that any errors that were to occur during these calls would be reflected in the returned HRESULT value. But instead, the program crashes in ntdll.dll, before these functions can return.
Are there any special considerations I need to take into account when calling FMOD methods that use these functions?