Forum: Multimedia
Delphi
by nixalsverdruss,
14. Dez 2008
Na Delphi macht nur die Zeile
procedure WaveAbspielen (MyWav2.RES : string);
rot.
Forum: Multimedia
Delphi
by nixalsverdruss,
14. Dez 2008
So:
procedure WaveAbspielen (MyWav2.RES : string);
var flag : byte;
begin
flag:=SND_ASYNC;
sndPlaySound(PChar (MyWav2.RES), Flag);
end;
gehts noch nicht. Was mache ich falsch?????
Forum: Multimedia
Delphi
by nixalsverdruss,
14. Dez 2008
Halihalo,
wie mache ich , dass wenn sich ein bestimmtes FORM öffnet dann Die Wave Datei (s. unten) abgespielt wird?
PlaySound(PChar(1), hInstance, SND_ASYNC or SND_MEMORY or SND_RESOURCE);
Danke schon mal
nixalsverdruss :P