C++ (WinForms) Play .wav file from resource menu

User Tag List

Results 1 to 3 of 3
  1. #1
    xyfz's Avatar Private
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ (WinForms) Play .wav file from resource

    Hey,


    im trying to play a .wav sound from my resources in c++.

    works with PlaySound() in console app.

    but i cant figure out how to play the sound in winformsapp.

    tryed a few things out but it wont work. google didnt help me that much...

    i hope someone has any idea how to get this working in winformsapp!

    thanks in advance

    C++ (WinForms) Play .wav file from resource
  2. #2
    Cromon's Avatar Legendary


    Reputation
    840
    Join Date
    Mar 2008
    Posts
    714
    Thanks G/R
    0/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey xyfz,

    Thats the way to go:
    SoundPlayer-Klasse (System.Media)

    Greetings
    Cromon

  3. #3
    xyfz's Avatar Private
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yep,

    thank you cromon!

Similar Threads

  1. Player Server listings! Play with friends from MMOwned!
    By Insanus in forum Age of Conan Exploits|Hacks
    Replies: 25
    Last Post: 06-09-2008, 09:58 AM
  2. [Guide] Moving Mysql files from a [Release]
    By Blueeyedtimothy in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 06-08-2008, 07:53 PM
  3. [Question] On how to extract file from DB
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 02-15-2008, 06:48 PM
  4. Getting files from Torrents!!
    By xps980 in forum Community Chat
    Replies: 0
    Last Post: 06-10-2007, 03:29 PM
All times are GMT -5. The time now is 02:46 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search