Play a sound in DevC++
I have been fighting with this for so long now.
How do you make a program that plays a wave or midi file using DevC++?! I have tried many ways of using PlaySound(), but an unresolvable error keeps poping up, it has somthing to do with refrence link @PlaSound12 or somthing like that. But no matter how much I search I can't find someone with the same problem let alone the answer. Could somone PLEASE help me out?
Thanks in advance, August
Nevermind! I figured it out!
I had to put the switch -lwinmm in under the progect options!
I learned that by searching for "PlaySound", then the file "libwinmm.a" popped up, from there it was obveius.
I glad you found this out.. because I fooled around with this for many days and couldn't get any sound to work.. and eventually lost interest in adding sounds.