Eject CDROM in W98???
-
Hi, I'm using CreateFile then DeviceIOControl in NT & 2K to get a handle to, and then eject, the cdrom drive. MSDN says that CreateFile can't get handles to devices in 98, so how can i achieve the same thing? Thanks Jon Sorry to dissapoint you all with my lack of a witty or poignant signature.
-
Hi, I'm using CreateFile then DeviceIOControl in NT & 2K to get a handle to, and then eject, the cdrom drive. MSDN says that CreateFile can't get handles to devices in 98, so how can i achieve the same thing? Thanks Jon Sorry to dissapoint you all with my lack of a witty or poignant signature.
Can you use MCI? There's a 'set somealias door open' command which ejects a CDROM. Tomasz Sowinski -- http://www.shooltz.com
-
Hi, I'm using CreateFile then DeviceIOControl in NT & 2K to get a handle to, and then eject, the cdrom drive. MSDN says that CreateFile can't get handles to devices in 98, so how can i achieve the same thing? Thanks Jon Sorry to dissapoint you all with my lack of a witty or poignant signature.
Are you using MCI? With MCI you have several commands string for make that. Is easy to Use... Best Regards... :bob: Toaday Is Friday!!! Party and :beer: Carlos Antollini.
-
Hi, I'm using CreateFile then DeviceIOControl in NT & 2K to get a handle to, and then eject, the cdrom drive. MSDN says that CreateFile can't get handles to devices in 98, so how can i achieve the same thing? Thanks Jon Sorry to dissapoint you all with my lack of a witty or poignant signature.
Hello, the codegurus around the world.;) Check this. :rolleyes: HOWTO: Eject Removable Media on Windows 95. And you focus just on CD-ROM. MCI is easier, but I found that if MCI isn't installed on Windows OS, it didn't work.:(( Have a nice day!
-Masaaki Onishi-
-
Hello, the codegurus around the world.;) Check this. :rolleyes: HOWTO: Eject Removable Media on Windows 95. And you focus just on CD-ROM. MCI is easier, but I found that if MCI isn't installed on Windows OS, it didn't work.:(( Have a nice day!
-Masaaki Onishi-
see CDR.EXE - Open/Close CD Drive(s) Programmatically :-D at http://www.codeguru.com/system/cdr.html HTH, Alex Lewandowski asl@asl2000.de
-
see CDR.EXE - Open/Close CD Drive(s) Programmatically :-D at http://www.codeguru.com/system/cdr.html HTH, Alex Lewandowski asl@asl2000.de
Hello, the codegurus around the world.;) Thanks you for your info. But, MCI will not be installed for all Windows OS. QA of my company pointed out that MCI command can't work at all for Windows 95 without MCI. Programmatically, check if MCI is installed on this OS. And, if so, execute MCI command. Otherwise, this is "BUG". X| Have a nice day!
-Masaaki Onishi-