954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C++ Win32 How to Play Music

Hi, I know how to do it in the console, but when it comes to Win32, I can't I've tried all those #includes(with Windows.h), and it doesn't let me. Anyways, if you guys know how, please share, I'd like to know.

Voidz
Newbie Poster
16 posts since Mar 2011
Reputation Points: 10
Solved Threads: 1
 
Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

@Ancient Dragon

That doesn't work with Win32. Thanks for trying though, C++ is a weird language. Something so simple, shouldn't be so complex.

Voidz
Newbie Poster
16 posts since Mar 2011
Reputation Points: 10
Solved Threads: 1
 

What??? PlaySound() is win32 api function. Did you even try it? If you did, then post the code you tried. Also tell us what compiler you are using.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

It's not the language that's a bit of a tosser, it's the framework that Microsoft designed for it....

1ML
Light Poster
33 posts since Feb 2011
Reputation Points: 22
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: