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.

Recommended Answers

All 4 Replies

@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.

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.