Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Functions to play audio CDs?
Message
De
04/11/1997 15:31:37
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00057886
Message ID:
00058209
Vues:
37
>Is there a windows DLL that contains functions to play,stop,etc audio CDs? >I tried to track down what DLLs the CDPLAYER applet in WIN95 uses, but the >closest thing I could find was WINMM.DLL. I couldn't make anything out of >it. Even if there were functions to use in it, I wouldn't know how to call >them. Anybody have any experience with this? I've found this on some last year's MSDN CD (some day we'll discover we're half-speaking, half-spelling). PUBLIC cdstat,junk,lastrack cdstat=SPACE(50) junk=" " DECLARE INTEGER "mciSendString" IN winmm.dll STRING, STRING, INTEGER, INTEGER =mciSendString("Open CDAudio", @junk, 0,0) =mciSendString("Set CDAudio time format tmsf", @junk, 0,0) =mciSendString("status CDAudio number of tracks", @cdstat, 50,0) lastrack=VAL(ALLTRIM(cdstat)) This is an excerpt from .init of cdplay.scx found there.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform