Windows API "Playsound" not working.......

Started by
21 comments, last by BekkiBlack 13 years ago
Hi again Just tryed it, in my app and it worked for me.

Try calling

[color="#008000"][color="#008000"]// Init COM so we can use CoCreateInstance

CoInitializeEx(NULL, COINIT_MULTITHREADED);





and when you close the app you need to call this must do it or else...

[color="#008000"][color="#008000"]

// Cleanup COM

CoUninitialize();

Advertisement

To add, I'm also very angry and upset and unsatisfied at the help I've been getting here.

I provided the complete code, all-around info, and no help. I've been at this for 3 weeks now and still can't even hear a sound being played in a window, sadly....It really pisses me off and I'm tired of not getting any real help.
On behalf of entire Gamedev, I'd like to apologize for not meeting your expectation of getting FREE help from us. To improve our response and serve YOU better in the future, we'll provide Pay-Pal account for your to deposit funds to get prefered treatment.
On behalf of entire Gamedev, I'd like to apologize for not meeting your expectation of getting FREE help from us. To improve our response and serve YOU better in the future, we'll provide Pay-Pal account for your to deposit funds to get prefered treatment.
[/quote]

K-I-S-S M-Y A-S-S.

This topic is closed to new replies.

Advertisement