Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i need the complete code to play a small wav file using visual c++.
i know its the PlaySound() function but giving lots of linker errors.
plz can anyone compile a code n post it here so that i can test it.

thanks a lot
Posted

1 solution

Sounds like you forgot to link the winmm.lib to me.
Did you check here[^]?
 
Share this answer
 
Comments
Chandrasekharan P 24-Jun-11 6:37am    
my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900