Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Scanning CD for physical damage

Scanning CD for physical damage

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorialquestion
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nishad S
    wrote on last edited by
    #1

    How to scan or identify a physical damage (like scratch or spot) in a blank writable CD? Thanks

    - NS - [ODBaseBtn]

    R 1 Reply Last reply
    0
    • N Nishad S

      How to scan or identify a physical damage (like scratch or spot) in a blank writable CD? Thanks

      - NS - [ODBaseBtn]

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      NS17 wrote:

      How to identify a physical damage (like scratch or spot) in a blank writable CD?

      You will need a small cotton ball, a mild liquid soap, clean water and a table lamp. Add a few drops of the liquid soap in water, soak the cotton in the soapy solution and wipe the surface of the disc gently, rubbing the cotton back and forth against it in a rocking motion. Switch on the table lamp and let the light lit the surface of the CD. You will be able to spot scratches and physical damages on it easily now. BTW, this forum is for Visual C++ questions.

      Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

      C D 2 Replies Last reply
      0
      • R Rajesh R Subramanian

        NS17 wrote:

        How to identify a physical damage (like scratch or spot) in a blank writable CD?

        You will need a small cotton ball, a mild liquid soap, clean water and a table lamp. Add a few drops of the liquid soap in water, soak the cotton in the soapy solution and wipe the surface of the disc gently, rubbing the cotton back and forth against it in a rocking motion. Switch on the table lamp and let the light lit the surface of the CD. You will be able to spot scratches and physical damages on it easily now. BTW, this forum is for Visual C++ questions.

        Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

        C Offline
        C Offline
        Cbadboy
        wrote on last edited by
        #3

        bro your a comedian. he wants to know how to check for physical damage when the cdrom is reading the cd.. software-wise i think search for damaged sectors checking source code doubt u'll find any.. but there must be a way to check it. how do CDR programs know the CD is blank when you enter it.. oh thats easy.. check the size of the cd.. but when its already full.. I guess you have to check every byte.. written to CD and see if it is changed? if it is.. then return damaged.

        R N 2 Replies Last reply
        0
        • C Cbadboy

          bro your a comedian. he wants to know how to check for physical damage when the cdrom is reading the cd.. software-wise i think search for damaged sectors checking source code doubt u'll find any.. but there must be a way to check it. how do CDR programs know the CD is blank when you enter it.. oh thats easy.. check the size of the cd.. but when its already full.. I guess you have to check every byte.. written to CD and see if it is changed? if it is.. then return damaged.

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          Cbadboy wrote:

          I guess you have to check every byte.. written to CD and see if it is changed? if it is.. then return damaged.

          It is changed or it is unreadable? If thought if the data could not be read, then he must return damaged. That's kinda obvious, I thought. Therefore my funny reply to him. :) But however, I think that one cannot be very much sure about if the read failed due to a physical damage or not.

          Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

          1 Reply Last reply
          0
          • C Cbadboy

            bro your a comedian. he wants to know how to check for physical damage when the cdrom is reading the cd.. software-wise i think search for damaged sectors checking source code doubt u'll find any.. but there must be a way to check it. how do CDR programs know the CD is blank when you enter it.. oh thats easy.. check the size of the cd.. but when its already full.. I guess you have to check every byte.. written to CD and see if it is changed? if it is.. then return damaged.

            N Offline
            N Offline
            Nishad S
            wrote on last edited by
            #5

            I just only need to know damaged area's position (sector, or something else)... CD can be blank or not, but the damage will not be in the written area. If it was in the written area then error will occur in the normal reading, right? Since it will not be so, I think I need to find another method.

            - NS - [ODBaseBtn]

            1 Reply Last reply
            0
            • R Rajesh R Subramanian

              NS17 wrote:

              How to identify a physical damage (like scratch or spot) in a blank writable CD?

              You will need a small cotton ball, a mild liquid soap, clean water and a table lamp. Add a few drops of the liquid soap in water, soak the cotton in the soapy solution and wipe the surface of the disc gently, rubbing the cotton back and forth against it in a rocking motion. Switch on the table lamp and let the light lit the surface of the CD. You will be able to spot scratches and physical damages on it easily now. BTW, this forum is for Visual C++ questions.

              Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche .·´¯`·->Rajesh<-·´¯`·. [Microsoft MVP - Visual C++]

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              Rajesh R Subramanian wrote:

              BTW, this forum is for Visual C++ questions.

              So just retool your cotton ball/soap/water/lamp example in the form of code.

              "Love people and use things, not love things and use people." - Unknown

              "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups