TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Neil Heller
from: Rob Swindell
date: 2003-12-10 16:39:24
subject: Playing a wav file

Re: Playing a wav file
  By: Neil Heller to All on Wed Dec 10 2003 01:15 pm

 > I was thinking that at one place in a program I wrote I would like to
 > have some sort of sound (other than a simple beep or bell which usually
 > indicates an error).  My conclusion was that it would probably be
 > easiest (as well as sounding the best) if I could play a simple wav
 > file.  The trouble is that I don't know where to even start looking for
 > help on the web.
 > 
 > Does anybody have an idea of a word or phrase that might be the seed for
 > a search?  BTW, if it makes any difference, I'm working with MSVC in NT.

See the Win32 PlaySound() API function.

                                                  digital man

Snapple "Real Fact" #152:
In 1985, the fastest bicyclist was clocked at 154 mph. 
--- SBBSecho 2.00-Win32
* Origin: Vertrauen - vert.synchro.net (1:103/705)
SEEN-BY: 633/267 270
@PATH: 103/705 218/903 10/3 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.