How would i make it so in my program there is a button when that button is clicked i want it to play a .wma file without opening and media player?
Although the above answer mentions it (and everything else, it doesn't give any recommendations so...), FMOD is the king of C++ sound (the most used) and works great so I'd recommend FMOD in particular.