0
0

I am debating on whether to use a line like this for my version check:

if (FSOUND_GetVersion() != FMOD_VERSION)
//Fail initialization.

…or one like this instead:

if (FSOUND_GetVersion() < FMOD_VERSION)
//Fail initialization.

The reasoning for the second is that it is possible I believe, for another app to be installed with a higher version of FMOD.DLL and that FMOD.DLL could be loaded by my app. If my code is compiled against FMOD.H/FMOD.LIB v3.5, could I expect it to work with a FMOD.DLL v3.6 existing in the future? In other words, are the fmod.dlls backwards compatible?

-Erik

  • You must to post comments
0
0

I think fmod.dll is backward compatible, but it is prefered to install the fmod.dll in the same directory as your application.
This way you are sure you are using the correct version.
When you would use the != test this would mean that if another app upgrades fmod.dll your app would just stop working.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.