[b][red]This message was edited by Wizardy at 2003-10-19 23:4:33[/red][/b][hr]
I have this function:
void PlaySoundFile (const char *SoundFile)
if (!PlaySound (SoundFile, NULL, SND_FILENAME | SND_ASYNC))
printf ("Error occured!");
If this function is run in win98, the sound file will not be played. There's always that message "error occured!". Why is that so? Should I initialize sound device? How do I do that, if I have to?
And, one more thing. Will I'll be able to play .mp3 files with this function? If not, which function do play .mp3 files and how to use it.