Thread: C++ direct access to drives

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    2

    Lightbulb C++ direct access to drives

    Hi,

    I am just playing around with encryptions, message hiding etc, and now I am looking into direct access to CD / DVD drives under windows.

    My question is - how do you read * e n t i r e * disc?
    I mean together with it's TOC and contents regardless of files and folders - all content of disk as one big string.

    So - the idea is - we don't create an ordinary DVD/CD. We write data all over it and when you put it in the drive - windows will see it as a disc with damaged / unusable TOC, but then the program just scans the entire disc and gets everything written on it.

    I would appreciate any ideas / suggestions/ URLs / recommendations for this.


    Drazen

  2. #2
    Registered /usr
    Join Date
    Aug 2001
    Location
    Newport, South Wales, UK
    Posts
    1,273
    So this program that reads the munged CD/DVD that Windows can't is included on a floppy disk?

    I can tell you straightaway it would require the use of ASPI, but I've never done it myself.

  3. #3
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    You may be able to use CreateFile. More info here and here.

  4. #4
    Registered User
    Join Date
    Dec 2006
    Posts
    2

    Smile

    Quote Originally Posted by SMurf
    So this program that reads the munged CD/DVD that Windows can't is included on a floppy disk?

    I can tell you straightaway it would require the use of ASPI, but I've never done it myself.

    Nope - you install the program and then you can read the disks.


    anonytmouse - Thanks for the info. I was already thinking that I'd have to write something like the CreateFile() API myself. I was hoping that something like that already exists


    vote anonytmouse for president

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 09-04-2008, 01:27 PM
  2. Direct memory access?
    By _izua_ in forum Windows Programming
    Replies: 4
    Last Post: 08-01-2008, 02:08 AM
  3. quick question on direct file access
    By Stevek in forum C++ Programming
    Replies: 2
    Last Post: 03-21-2003, 01:33 AM
  4. direct access of video buffer.???
    By matheo917 in forum C++ Programming
    Replies: 4
    Last Post: 05-14-2002, 08:08 PM
  5. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 02:52 PM