-
Using this code, i almost always got to open the cd door, except when a few programs are playing (i.e.: MMJB):
retvalue = mciSendString("open CDAudio SHAREABLE", returnstring, 127, 0)
retvalue = mciSendString("Stop CDAudio", 127, 0)
retvalue = mciSendString("set CDAudio door open", returnstring, 127, 0)
retvalue = mciSendString("close CDAudio", returnstring, 127, 0)
when MMJB is playing a cd audio, the first function returns 291 error:
MCIERR_MUST_USE_SHAREABLE 291
is there any other way to force open cd door, no matter which program is playing a cd?
-
If you close down Music Match using API it will open. Otherwise I guess the CD is first in first serve, who ever gets it first owns it.
I can't experiment with things like this because my CD doesn't have a drawer, you just put it in like a floppy, and eject it in the similar way (push the button).
[Edited by Dreamlax on 11-19-2000 at 06:15 PM]