Thema: Delphi Syntax SendMCICommand

Einzelnen Beitrag anzeigen

EWeiss
(Gast)

n/a Beiträge
 
#31

AW: Syntax SendMCICommand

  Alt 25. Jul 2012, 15:25
destructor Destroy(alias: string); reintroduce;
Delphi-Quellcode:
   if autoplay then
        play;
fehlt noch das alias hinter play

und alias mciplayer bei duration wurde noch nicht ersetzt.

Delphi-Quellcode:
   // Calculate duration
     command := ('set mciplayer time format milliseconds wait');
     mciSendString(command, return, resultSize, 0);
 
   command := ('status mciplayer length wait');
     mciSendString(command, return, resultSize, 0);
     if (StrLen(return) > 0) then
        duration := StrToInt(return)
     else
    duration := 0;
gruss

Geändert von EWeiss (25. Jul 2012 um 15:29 Uhr)
  Mit Zitat antworten Zitat