Reading binary data off a CD
-
To my understanding, a CD has 0's and 1's (binary) written on it, and a laser reads the binary. Then the computer translates it. Please correct me if I am wrong. I am using MFC, and what I am trying to do is get all the binary data off of a CD, and put it to a char. Is this possible? Any help at all is appreciated. -Dev578
-
To my understanding, a CD has 0's and 1's (binary) written on it, and a laser reads the binary. Then the computer translates it. Please correct me if I am wrong. I am using MFC, and what I am trying to do is get all the binary data off of a CD, and put it to a char. Is this possible? Any help at all is appreciated. -Dev578
a CD has nothing "written" on it! there are pits and pats (or whatever they are called... dunno). a change between pit and pat is a 1, if it doesnt change then it is 0. to read the binary sectors from a CD you will need IOCTLs or even better SCSI. IOCTL_CDROM_RAW_READ is the IOCTL, but i dont know if you will find it in MSDN, my doc is part of the DDK. if you want to use SCSI then have a look at CDex src. Don't try it, just do it! ;-)