I am using VS .NET 2003 to develop on Win2K and WinXP. Got an odd bug with WIN2K…
When I do this on XP:
rw = SDL_RWFromFile(“bleh.ogg”,“rb”);
music = Mix_LoadMUS_RW(rw)
it works fine.
But when I run it on Win2K it crashes on Mix_FreeMusic.
Check if music pointer is null etc etc…all seems valid. Suspect it is something to do with some threads perhaps. I know if I interchange SDL_FreeRW and Mix_FreeMusic …it crashes on SDL_FreeRW instead on WIN2K. Using mixer 1.27 btw.