Results 1 to 4 of 4

Thread: PlaySound C++

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    PlaySound C++

    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

  2. #2
    Admodistrator |2eM!x's Avatar
    Join Date
    Jan 2005
    Posts
    3,900

    Re: PlaySound C++

    i believe you want this forum:
    http://www.vbforums.com/forumdisplay.php?f=9

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    537

    Re: PlaySound C++

    oops. I should have scrolled down a little farther. lol

  4. #4
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: PlaySound C++

    C++ typically uses DirectSound to play sounds. Never seen one C++ app that doesn't use it, yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width