Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Functions to play audio CDs?
Message
From
04/11/1997 15:31:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00057886
Message ID:
00058209
Views:
33
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform