Need to access CD/DVD Driver Operation Conditions

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2007
Posts: 6
Reputation: khoramdin is an unknown quantity at this point 
Solved Threads: 0
khoramdin khoramdin is offline Offline
Newbie Poster

Need to access CD/DVD Driver Operation Conditions

 
0
  #1
Jan 27th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,266
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: Need to access CD/DVD Driver Operation Conditions

 
0
  #2
Jan 27th, 2007
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?
Last edited by iamthwee; Jan 27th, 2007 at 6:36 am.
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 6
Reputation: khoramdin is an unknown quantity at this point 
Solved Threads: 0
khoramdin khoramdin is offline Offline
Newbie Poster

Re: Need to access CD/DVD Driver Operation Conditions

 
0
  #3
Jan 27th, 2007
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC