Retrieves the version of BASS that is loaded.
DWORD BASS_GetVersion();
The BASS API includes a BASSVERSION constant, which can be used to check that the loaded BASS.DLL matches the API version used, ignoring revisions.
if (HIWORD(BASS_GetVersion()) != BASSVERSION) { // incorrect version loaded! }
Check that revision 1.0 or above of the correct BASS version is loaded.
DWORD version = BASS_GetVersion(); // get the version number if (HIWORD(version) != BASSVERSION // check the main version || LOWORD(version) < 0x100) { // check the revision // incorrect version loaded! }