• Trainer
  • Forums
  • Suche
  • Members
  • Kalender
  • Hilfe
  • Extras
Forum stats
Show team
Neue Beiträge ansehen
Heutige Beiträge ansehen
Home of Gamehacking - Archiv
Login to account Create an account
Login
Benutzername:
Passwort: Passwort vergessen?
 



  Home of Gamehacking - Archiv Coding C, C#, C++, Visual C++
1 2 Weiter »
PlaySound Resource funktioniert nicht ganz

Ansichts-Optionen
PlaySound Resource funktioniert nicht ganz
ABartX Offline
Member
***
Beiträge: 152
Themen: 9
Registriert seit: Oct 2010
Bewertung: 1
#9
01.12.2013, 22:31
hab noch folgendes gefunden:

PlaySound function

With the help of my colleage, I have solved the the problem when compiling with the PlaySound function. Here is the solution:

1. Include the following header files in this order:

#include "windows.h"
#include "mmsystem.h"

2. follow the following steps to add winmm.lib to the linker (assuming Visual Studio 2010):

a. Right click the project name in the Solution Explorer and select "Property".
b. On the left pane of the Property window, select "Linker" and then "Input"
c. On the right pane, type winmm.lib in the "Additional Dependencies" row.
d. Click "Apply" and then "OK".

You are now ready to compile and play .wav files.
Slow Down. Take it Easy Cool
Suchen
Antworten
Share Thread:            


Nachrichten in diesem Thema
PlaySound Resource funktioniert nicht ganz - von DerBaum - 30.11.2013, 18:48
RE: PlaySound Resource funktioniert nicht ganz - von Acubra - 30.11.2013, 22:14
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 30.11.2013, 23:44
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 01.12.2013, 00:35
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 01.12.2013, 03:03
RE: PlaySound Resource funktioniert nicht ganz - von iNvIcTUs oRCuS - 01.12.2013, 04:43
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 01.12.2013, 19:27
RE: PlaySound Resource funktioniert nicht ganz - von iNvIcTUs oRCuS - 01.12.2013, 20:29
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 01.12.2013, 22:31
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 01.12.2013, 23:15
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 02.12.2013, 00:51
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 02.12.2013, 03:47
RE: PlaySound Resource funktioniert nicht ganz - von Acubra - 02.12.2013, 11:00
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 02.12.2013, 15:23
RE: PlaySound Resource funktioniert nicht ganz - von iNvIcTUs oRCuS - 02.12.2013, 18:42
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 02.12.2013, 19:15
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 02.12.2013, 19:54
RE: PlaySound Resource funktioniert nicht ganz - von Acubra - 03.12.2013, 00:30
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 03.12.2013, 02:47
RE: PlaySound Resource funktioniert nicht ganz - von iNvIcTUs oRCuS - 03.12.2013, 04:15
RE: PlaySound Resource funktioniert nicht ganz - von ABartX - 03.12.2013, 05:44
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 03.12.2013, 16:00
RE: PlaySound Resource funktioniert nicht ganz - von DerBaum - 04.12.2013, 00:30

  • Druckversion anzeigen
  • Thema abonnieren


Benutzer, die gerade dieses Thema anschauen:
1 Gast/Gäste

  • Kontakt
  • Forum team
  • Forum stats
  • Nach oben
 
  • RSS-Synchronisation
  • Lite mode
  • Home of Gamehacking - Archiv
  • Help
 
Forum software by © MyBB - Theme © iAndrew 2014



Linearer Modus
Baumstrukturmodus