SAMPLE: How To Use MFC App with DirectSound APIs

Last reviewed: October 10, 1997
Article ID: Q155762
4.00 WINDOWS kbmm kbhowto kbprg kbfile

The information in this article applies to:

- Microsoft Win32 Software Development Kit (SDK), version 4.0 - Microsoft Windows 95 Game Software Development Kit, version 2.0

SUMMARY

DSMFC is a Microsoft Foundation Class (MFC) application that demonstrates how to use DirectSound API calls.

Because DSMFC is MFC-based, it also illustrates how to invoke DirectSound API calls in Visual C++. The application uses the skeleton created by the MFC AppWizard in Visual C++ version 4.0. Search for “//DS” (four characters) in *.cpp and *.h files to find the code that is specific for this project.

You can find DSMFC.EXE (size: 39636 bytes) 
                      , a self-extracting file, on the following
services:
  • Microsoft's World Wide Web Site on the Internet

          On the www.microsoft.com home page, click the Support icon.
          Click Knowledge Base, and select the product.
    
          Enter kbfile DSMFC.EXE (size: 39636 bytes) 
                                , and click GO!
          Open the article, and click the button to download the file.
    
    
  • Internet (anonymous FTP)

          ftp ftp.microsoft.com
          Change to the Softlib/Mslfiles folder.
          Get DSMFC.EXE (size: 39636 bytes) 
    
  • Microsoft Download Service (MSDL)

          Dial (206) 936-6735 to connect to MSDL
          Download DSMFC.EXE (size: 39636 bytes) 
    

For additional information about downloading, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online
               Services


KBCategory: kbmm kbhowto kbprg kbfile
KBSubcategory: MMVideo
Additional reference words: gdk wave audio mixing 4.00 2.00 kbdsd
Keywords : MMVideo kbfile kbhowto kbmm kbprg
Version : 4.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.