On Mon May 1 05:17:36 2023 +0000, Mohamad Al-Jaf wrote:
That doesn't work, it results in this error: include/hrtfapoapi.idl:96:7: error: type 'STDAPI' not found in global namespace STDAPI CreateHrtfApo(const HrtfApoInit *init, IXAPO **xapo); ^ make[1]: *** [Makefile:162013: include/hrtfapoapi.h] Error 1 Even with just `HRESULT WINAPI`, which is missing `EXTERN_C`, it fails to build.
You can use __stdcall instead of WINAPI.