home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,043 of 10,840   
   Rick Hughes to All   
   Reading records on a CDrom   
   03 Dec 04 12:42:16   
   
   From: rbhughes2000@yahoo.com   
      
   I have a rather simple VB5 program to backup new/modified files to a CD.  It   
   dawned on me the other day that I have no way of knowing if the CD is any   
   good.  So I wrote some code to read every file from start to end and report   
   any errors.  It almost works.  When the CD driver gets a read error it tries   
   to read the record about 50 times or so. Finally it displays a window saying   
   it couldn't read and then goes on to the next record where it does its retry   
   trick again.  During this time the program is not notified about the error   
   and the program can not be terminated due to an outstanding IO.   
      
   Is there any way of reading and error checking that bypasses the driver?   
   --   
   Rick Hughes   Salem, SC   
   rbhughes @ Bellsouth.net   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca