Ejecting Disks off a MAC computer
Hmm, learn about the MCI API, and send some commands like this to the drive:
open cdaudio alias test
set test door open
This should open the drive door just like the Win95 CD player.
The declarations for the MCI functions you will want to use are:
Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal
lpstrCommand As String, ByVal lpstrReturnString As String, ByVal
uReturnLength As Long, ByVal hwndCallback As Long) As Long
Declare Function mciGetErrorString Lib "winmm.dll" Alias
"mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String,
ByVal uLength As Long) As Long
Hope this helps...
>I personally love IBM's. Where I work, their are Macintoshes running
>95 using that special chip in the computer. They go to IBM mode using the
>SHIFT-ENTER I beleive. Anyway, if you insert a disk while you are in the
>mode and go back to the MAC mode you will not see the DISK icon on the
>desktop. Therefore you cannot eject either. Windows 95 was designed to work
>with MACS so it doesn't have any place to eject the disk. It doesn't
>aPI's either. I was thinking the access the port where the Disk drive is
>being read and send it the values it needs to get the EJECT idea.
>Does anyone know what to send the disk drive. Does anyone know what port it
>is located under MACS? Any help would be appreciated.