• 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
iNvIcTUs oRCuS Offline
Super Moderator
****
Beiträge: 2.688
Themen: 529
Registriert seit: Aug 2010
Bewertung: 19
#6
01.12.2013, 04:43
Ich denke das dürfte nicht die Lösung sein, denn die Wave wird ja in der "resource.h" definiert...
[code=C]#define IDR_WAVE1 100[/code]

IDR_WAVE1 wird hier als 100 definiert...

Was mich aber etwas wundert - Warum ist der zweite Parameter "Null"?
Ich hab zwar kein Plan von C++ aber laut MSDN:
[code=C]BOOL PlaySound(
LPCTSTR pszSound,
HMODULE hmod,
DWORD fdwSound
);[/code]

Und weiter...
MSDN schrieb:hmod

Handle to the executable file that contains the resource to be loaded. This parameter must be NULL unless SND_RESOURCE is specified in fdwSound.
Irren ist menschlich. Aber wer richtigen Mist bauen will, braucht einen Computer !!!

Traineranfragen per PM werden prinzipiell gelöscht...

[Bild: signatur6akm7.gif]
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