CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2000
    Posts
    129

    How to play audio files from MFC App?

    Please help!
    I need to play small audio files from my MFC Application... I need to do it on a certain even and it can be different sound every other time... Thanks!!!

  2. #2
    Join Date
    Jan 2003
    Location
    Pune, India
    Posts
    42

    Lightbulb Try This

    Try this..

    BOOL PlaySound(
    LPCSTR pszSound,
    HMODULE hmod,
    DWORD fdwSound
    );

    May be it will Help u out...
    "The stars are constantly shining, but often we do not see them until the darkest hours."

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

Featured