I'm modifying a program that came with VC++, and I'm trying to use BASS (0.9) in it, but I can't get it to initialize for some reason. It gives an Unknown Error (eek). Can anyone figure out what might be wrong? I have the source stuff here:http://www.beatfox.com/sonic_midimon.zip
Just unzip it into an empty folder and open "sonic midimon.dsw" -- everything should be set up there. BASS_Init is called in BGM::Init (in bgm.cpp), which is called in WinMain (in midimon.cpp).
I compiled the Basstest program that comes with BASS, and that ran just fine. In both Basstest and my program, BASS_Init is one of the first things that's called (as far as I can tell -- I'm still not very experienced in VC++ and Windows programming). So where might the problem be?