PDA

View Full Version : CD-ROM staff ...



GL_SH
06-19-2002, 07:06 AM
i know that this is not a OpenGL question, but how can move CD-ROM in and out programmatically !!!


thanks !

jra101
06-19-2002, 08:41 AM
msdn.microsoft.com (http://msdn.microsoft.com)

pkaler
06-19-2002, 03:21 PM
#!/bin/bash
eject cdrom

pleopard
06-19-2002, 05:46 PM
#include <mmsystem.h>

void OpenCDRomDoor()
{
mciSendString( "set cdaudio door open", NULL, 0, 0 );
}


[This message has been edited by pleopard (edited 06-19-2002).]

SirKnight
06-19-2002, 07:25 PM
glOpen( GL_CDROM_DRIVE, &amp;driveLetter );

Jambolo
06-19-2002, 09:11 PM
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.

Coconut
06-20-2002, 04:06 AM
http://www.lego.com

You can buy a lego robot and "program" the robot to push the bottom.