Chaps and Chapettes,
Program in C++.
Im doing a project to detect a defined marker, then play the relevent
sound when it can no longer be seen.
It worked well when using the beep function.
if( config->//not visivle ) Beep(176,20);
But when I run with the code below it either plays the error tone
which suggests it can't find the file (even though its in the local
directiory) or it crashes.
if( config-//not visivble ) PlaySound('test' , NULL, SND_FILENAME |
SND_ASYNC);
Any suggestions as to where my mistake is?
Thanks for your time.