Skip to main content
GameDev.net gamedev.net
🔒 Locked

Play wav sound in Dev-C++ for Win32

Started by computerphysicslab Jan 8, 2010 at 6:55 PM 4 replies 3.1k views
Original Post
computerphysicslab
computerphysicslab
The same way as you may develop a graphical Win32 application with Dev-C++ just using GDI calls instead of DirectX or other libraries/engines, is it possible to play a wav sound file avoiding DirectSound/DirectX? Thanks in advance!
aryx
aryx
How about PlaySound? You'll need to link against winmm.lib, but that should be it.
Promit
Promit
Step 1: Stop using Dev-C++.
Step 2: PlaySound works just fine for simple tasks.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
jbadams
jbadams
Quote:
Original post by Promit
Step 1: Stop using Dev-C++.
Absolutely agreed, and here are some reasons why.
- Jason Astle-Adams
computerphysicslab
computerphysicslab
Thanks everybody. Actually I am thinking in getting into Visual Studio very soon and left Dev-C++.

Regards.
JustChris
JustChris
Good choice. You'll see that Dev C++ is really more of a toy once you start coding and building programs with Visual Studio.
Electronic Meteor - My experiences with XNA and game development

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.