Hi, I am working on a project, I need to control a CD Drive via the IDE/ATA Interface using a C/C++ program.
My goal is to control the Speed of the Drive, and hopefully the radial position of the optical pickup head.
I am still fairly new to this field, is something like that even possible ( I need to finish it in 2 months)
Thank you for your response, The problem I have is that the CD Drives I am working on are fairly old and it is difficult to find any supporting info on them through the manufacturers resources. My goal is to develop something generic that can be used on any CD Drive.
OK I was looking around, to control/access I/O Devices such as a CD Drive the DeviceIoCtl calls can be used.(Windows)
The IOCTL_CDROM_SET_SPEED control code can be used specifically to control the speed of the spindle motor.
I am now looking at how to implement these control codes into a C/C++ Program. Are there any books/tutorials out there that teach how to do this.
I found Microsoft's Windows Developer Center a very good resource! http://msdn.microsoft.com/en-us/library/aa363216(v=VS.85).aspx
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...