Hi,
I use ReadFile API function to read a file from a CD, the file have a bad or damaged end, so when the function reach the bad part of the file it took and hang the system for more than 45sec and then it return the "Read Error .. " message .

I even use a way that read Byte by byte but the delay occurs at the first single damaged byte and caused all the system to be hang for 45sec ..

What I need is : a way that return the "read error .." message faster as possible .. and save time by stop trying to read the bad or damaged part .

I appreciate any HELP

Thanks