473,382 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Reading a disc drive (C++)

Well , could someone tell me how to read/write to a disc drive ? And by disc drive , I mean *disc*drive* , not the files on it. I'm using VC++ 6 , and would prefer the easiest method , even if it 'doesn't comply with the standards' (I remember an implementation based on 'open' which treated the drive as a file... but if someone knows about it could he/she explain it to me?)
Jun 12 '08 #1
2 2175
oler1s
671 Expert 512MB
I/O directly to the drive is OS and platform specific. For you, that would be the Windows API. So I would Google and search MSDN for the relevant sections on disk management and I/O. It’s all nonstandard code, so forget about trying to get a standard and portable API here.

I'm using VC++ 6
You sure you don’t want to upgrade to something from this decade?
Jun 12 '08 #2
Please , I remember some C code using open to achieve this. Ok , if not this , could someone explain 'open' - just open and the functions related to it ?
Jun 12 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Johnny Jörgensen | last post by:
Does anybody know how to tell what type of disc that's in the drive currently? I need to be able to distinguish between CD's containing data and Audio CD's Cheers, Johnny J.
2
vdraceil
by: vdraceil | last post by:
Hi friends,i just wanna know whether the presence of a disc in the drive can be detected by coding in vb6.0..if the disc is present i want to perform a set of actions, else i want to display 'insert...
0
by: =?Utf-8?B?TWFubnk=?= | last post by:
When no disc is in the drive it shows to be a DVD-RW drive but I place a blank DVD-R or Blank DVD+R in the drive is show that a blank CD has been inserted. -- Manny
1
by: =?Utf-8?B?T2FrZGVuZQ==?= | last post by:
I've just bought a new computer and want to load my Office software onto it. The software is on a disc, but the computer doesn't have a disc drive. I've tried loading the disc onto a flash drive...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.