I’m have created my own library that I open at run time using SDL_OpenObject under Linux/gcc and this works well.
I am trying to port the code to MINGW but I am uncertain what format to make the library. Should it be a Windows dll or a MINGW so or something else. I have tried both but SDL_OpenObject refuses to find the library!
Not sure if it is a formatting or pathing issue at this stage.
AFAIK it should work with DLLs (and just those) on Windows.
I doubt that a path like /C/MSYS64/MINGW64/LIB/bla.dll works though - does it work with proper windows paths, starting with “c:\” instead of “/C/” and maybe using backslashes instead of forward slashes?
(Though I think forward slashes should work as well)
I tested that with libcrypto.dll. If I type the full path “C:\Windows\System32\libcrypto.dll” it works fine. But if I do the same for my library and all other in the “C:\MSYS64\MINGW64\lib\libexample.dll” it doesn’t work!