I’ve created several succesful codec plugins, but when I’ve succesfully compiled this 3rd party library using my standard code for an FMOD codec plugin I get:
"FMOD error! (13) Error loading file. (FMOD_ERR_FILE_BAD) when loading the .dll.
If I remove some code I can load it, so it seems there are some specific (c++/asm mingw compiled) code that causes it.
What version of the FMOD integration are you using?
Could you call Debug_Initialize with the logging flag set to FMOD_DEBUG_LEVEL_LOG. Please note that you will have to use the fmodstudioL lib and dll. Could you please share the Logs here?
Apologies for the delayed response. The issue may be that the third-party code has introduced a dependency that hasn’t been satisfied, causing the library to fail loading. A solution may be using a tool like Dependencies to see what it might be.
Thank you for uploading that, having a look at the codec in VSCode I cannot see FMODGetCodecDescription anywhere. This is required to be able to load the codec correctly. Is it possible that the 3rd party you are using is replacing these functions?