944,085 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 1451
  • C++ RSS
Jan 27th, 2007
0

Need to access CD/DVD Driver Operation Conditions

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
khoramdin is offline Offline
6 posts
since Jan 2007
Jan 27th, 2007
0

Re: Need to access CD/DVD Driver Operation Conditions

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.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Jan 27th, 2007
0

Re: Need to access CD/DVD Driver Operation Conditions

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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
khoramdin is offline Offline
6 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: What does ^ mean?
Next Thread in C++ Forum Timeline: Quality check





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC