TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Herbert Bushong
from: Jorgen De Gier
date: 1996-09-21 02:24:02
subject: CD Changer eject/retract

Hallo Herbert,

Herbert Bushong schreef dit aan All:

 HB> Anyone got any ideas how to do the eject/retract? Appears to work with the
 HB> drive letter (each tray is a different drive letter)...

 HB> All I need is something to pass the appropriate drive letter and it will
 HB> eject/retract it, ie:

 HB> EJECT H:
 HB> RETRACT H:

Maybe this sounds weird, but look into the MCI functions. I've done some stuff
for Windows and the OS/2 MCI is quite simular. The MCI functions include a
CD part with the appropiate commands like MCI_LOAD and MCI_UNLOAD ( wild
quess, but I'm quite sure the right command exist).
Some C-compilers include the multimedia files which include MCI support.
Borland doesn't.
Maybe REXX is capable of MCI. Just try.

I've been doing a lot of Delphi lately so I can't give you some code in a minute.

Toedeloe,
Jorgen de Gier

--- GEcho 1.00
* Origin: Hoi! (2:280/606.9)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 280/606 11 0 801 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.