954,506 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Need to access CD/DVD Driver Operation Conditions

Hello everyone,

I wish to develop an application which can be downloaded from WEB to user's PC (With the KNowledge of the users) and then it creates some soft of interaction with the hardware device of the user's computer. I basically wish to know when the CD/DVD player has been activated, paused, stopped, and etc… Mainly event handling information… and Finally send these information back to the WEB site. All is done with the full knowledge of the user.

I am just wondering if this project can be done in C/C++. Can anyone tell me how I need to go about this project and if the C/C++ is the right way to get this project done?

Thank you for your time and have a great day.

Cheers,

Khoramdin

khoramdin
Newbie Poster
6 posts since Jan 2007
Reputation Points: 10
Solved Threads: 0
 

I think your biggest bottleneck here would be detecting what operating system the user has on their pc.

However, if you are assume they are using windows you can definitely detect the cd-rom drives.

For example the following snippet:

http://www.daniweb.com/code/snippet113.html

works when using bloodshed (tried and tested)

http://www.bloodshed.net/

I'm not sure if that's what you mean?

iamthwee
Posting Expert
5,950 posts since Aug 2005
Reputation Points: 1,543
Solved Threads: 439
 

Thank you iamthewee,

That was great information. If I not mistaken in that example Media Control Interface (MCI) is used to control the CD-ROM. I was wondering if there is a similar way to deal with DVD driver?

Is there a way to create a sniffer which can keep an eye on MCI and keeps track of the the information/command (Play - Pause - FF ......) and simply display it. When I talk about sniffer, I mean sniffing to see if these commmand are send to the MCI from other software applications.

Thank you very much for your help.

Cheers,

Khoramdin

khoramdin
Newbie Poster
6 posts since Jan 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You