AUDIOSES.DLL errors on MinGW, but not on MSVC
Unsolved
General and Desktop
-
Re: Why can't I open my default audio input?
I am getting very simillar error:
avcore\audiocore\client\audioclient\audioclientcore.cpp(1627)\AUDIOSES.DLL!00007FF936C82D65: (caller: 00007FF936C3E570) ReturnHr(5) tid(1ef8) 887C0036 avcore\audiocore\client\audioclient\audioclientcore.cpp(593)\AUDIOSES.DLL!00007FF936C61D96: (caller: 00007FF936C3E940) ReturnHr(6) tid(1ef8) 80070057 The parameter is incorrect. avcore\audiocore\client\audioclient\audioclientcore.cpp(1584)\AUDIOSES.DLL!00007FF936C82D65: (caller: 00007FF936C3E570) ReturnHr(8) tid(1ef8) 80070057 The parameter is incorrect.
This happens at this point in my code:
//const std::string_view mname == "sys" auto new_module = PyImport_ImportModule(mname.data());
It's Python.h issue obviouslly (I use it within Qt app with QT_NO_KEYWORDS), so why am I asking here? Well, it happens only when I build my app (with Qt Creator) with MinGW on Windows 11... if I run my code on Linux or Windows 11 MSVC, there is no issue... but I need it on MinGW as MSVC was always problematic for me.
OP solved his problem with permissions, but as far as I can tell, I allowed "desktop apps" to access everything, and I even turned Developer Mode on.