I just did this tonight, what a co-incindence. Use PlayFile(path, 0, SND_FILENAME) where path is the path of your file or a varible set to the path. You have to include the header file and the correct library, and this can be found by entering the function like I have above, then pressing f1 when your cursor is over PlayFile. I would write it but I'm not at my computer right now, I'm at a different comp. MyCode was:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.