nope didn;t work out as i hoped it would:9 I'll just post my code :S can't do it alone.
test.cpp
Code:
#include "ding.wav"
#include "Mmsystem.h."
#include "Coredll.lib."
main() {
PlaySound("ding.wav",NULL,SND_ASYNC|SND_FILENAME);
return 0;
}
then i have ding.wav <-- the sound. and the automaticly created piece of code the dev compiler creates when you make a Windows application , headers :
Code:
#include <windows.h>
#include "Mmsystem.h."
sorry for the trouble.. I hope you guys can and are willing to help an old friend ( hmm....:P)