PDA

Click to See Complete Forum and Search --> : PlaySound C++


Sir Loin
Oct 2nd, 2005, 04:24 PM
I started learning C++ recently, and I have to make my program play a WAV file.

In VB6 I would easily do this using the PlaySound API, but in C++ I need to include a header file, which header do i have to include to use the PlaySound API?

Thank you,
Sir Loin

|2eM!x
Oct 2nd, 2005, 04:34 PM
i believe you want this forum:
http://www.vbforums.com/forumdisplay.php?f=9

Sir Loin
Oct 2nd, 2005, 04:36 PM
oops. I should have scrolled down a little farther. lol

Jacob Roman
Oct 2nd, 2005, 08:06 PM
C++ typically uses DirectSound to play sounds. Never seen one C++ app that doesn't use it, yet.