I'm doing the code below and at the end, instead of stopping - it brings up the message : "I/O Error 87" (from EInOutError) .
I couldn't find anything about "Error 87" in the Delphi's help .
What is this Error ?
What am i doing wrong...?
The code :
const BufferSize = 1050;
var f : File;
RBuffer : array[1..BufferSize] of Byte;
BufferLen : DWORD;
While Not EOF(F) Do
BlockRead(f, RBuffer, SizeOf(RBuffer), BufferLen);
(the parts in the dots (..) REALLY don't have NOTHING to do files or buffering)
I'm using D5 Standart w/ win95 if it matters.