i know that this is not a OpenGL question, but how can move CD-ROM in and out programmatically !!!
thanks !
i know that this is not a OpenGL question, but how can move CD-ROM in and out programmatically !!!
thanks !
#!/bin/bash
eject cdrom
#include <mmsystem.h>
void OpenCDRomDoor()
{
mciSendString( “set cdaudio door open”, NULL, 0, 0 );
}
[This message has been edited by pleopard (edited 06-19-2002).]
glOpen( GL_CDROM_DRIVE, &driveLetter );
The easiest way to do it is to push the button on the front of the drive.
If you MUST do it programmatically, write yourself a note.