From: Steve Baer [sbaer1@u.washington.edu] Sent: Monday, November 12, 2001 2:04 PM To: Kelvin Sung Subject: Sound without having to download DirectX 8 Kelvin, I was thinking about your solution to adding sound to an application and thought that there must be an easier way to play wave files than downloading a 100Mb SDK. Did a little research and came up with an incredibly easy way to produce sound. The zip file that I am attaching is exactly the same as my MP4 homework with some very slight changes. They are as follows: 1. In project settings... link, I added a link to winmm.lib 2. In my MP4GameModel.cpp file I added two new includes at the beginning of the file: #include #include 3. In my createNewInsect function (in MP4GameModel.cpp), I added a function call to PlaySound() 4. The PlaySound function plays a wave file (and allows me to do it asynchronously with the SND_ASYNC flag) If you compile this project and copy the ding.wav file to the debug folder, it should play the ding every time you create a new insect. Hows that for easy!!!!! -steve