Thema: Delphi Wav- Datei abspielen?

Einzelnen Beitrag anzeigen

shmia

Registriert seit: 2. Mär 2004
5.508 Beiträge
 
Delphi 5 Professional
 
#2

Re: Wav- Datei abspielen?

  Alt 23. Mär 2005, 18:17
Delphi-Quellcode:
uses MMSystem;

var
  dll_handle : HInstance;
begin
   dll_handle:=LoadLibraryEX('mysound.dll',0,LOAD_LIBRARY_AS_DATAFILE);
   PlaySound('OSTERN', dll_handle, SND_RESOURCE);
   FreeLibrary(dll_handle);
end;
Andreas
  Mit Zitat antworten Zitat