Just took my DVD player apart as was playing up and discovered it has a standard IDE drive in it. Normal for DVD players BUT there is only the IDE cable and molex connecting to it. The eject button on the DVD player doesn't touch the eject on the drive itself as it has been removed. My question is, how does it eject via the IDE cable ?
You wouldn't happen to know the software shortcut that lets that happen would you? I wanna make an eject drive shortcut (like how if you just make a shortcut to "explorer.exe C:\" it'll open C but the only stuff that google returns is non-free software
Use the "mciSendCommand" function if you can program. I think I can make one for you if you want. If so do you want Command line or Windowed Dialog Box?
You can use girder aswell i think... I had open/close functions for both my cdroms on my remote for a wile..
Thanks for the offer Hmm... well what I'm looking for is something that you could just run (by start->run, a shortcut, etc) and have it open the drive, so command line would probably be it. Nosmo... what you could look into is seeing where the eject button links to... I'd imagine it's on one of the cables but it could be some sort of other controller. I would think it would have to be a controller, because hard drives don't exactly eject. Perhaps the drives would use pin 39 for eject as hard drives use it for activity LEDs and optical drives wouldn't otherwise use it as they have their own lights on the front.
I'll get cracking on it. Program name will probably be "cd_drive" with two arguments. (1) Which letter designation (2) Open/Close Return value, if I can, will be TRUE/FALSE for if a CD is in the drive or not when the cd-drive closes.
Yeah, that would be awesome!! Thanks so much! Something to the extent of this? run-> cd_drive.exe d open
I typed the program up and tested it as fast as I can so here it is. The website will give instructions to you on how to use it. I will add the result return later if I have time, indolence at the moment , any questions you have I'll be on hand to answer. Source code is included if you don't trust the binary. (1)Compile as a C++ file under console classification (2)Include the library mmsystem or winmm, whichever your compiler. (3)Compile away Have fun.
thanks FuzzyOne !!! I saw some jscript and vbscript code on the net but was too lazy to do anything with them. I always liked how linux handled this when mounting and unmounting drives, and now XP can share the fun! Helps alot since my drives button is a hassle to reach where my tower is. Nice one!!!!
Got bored and built a console version too the switches are as follows 1) cdrom open 2) cdrom close simple eh and with a massive size of 22kb very handy Download Link