Found the cure - the problem is that somehwere in the VCL or third 
party components, someone has forgotten to reset the ioresult.  
COnsequently, the file in question could not be opened (the error 
being meaningless).  I am just resetting the ioresult prior to my file 
operations (as well as afterwards ofocurse).

To:                     Multiple recipients of list delphi <[EMAIL PROTECTED]>
Send reply to:          [EMAIL PROTECTED]
From:                   "Cheng Wei" <[EMAIL PROTECTED]>
Subject:                RE: [DUG]:  IOERROR 123
Date sent:              Mon, 21 May 2001 17:01:38 +1200

> From "Win32 Developer's References":
> 
> Error number 123 = ERROR_INVALID_NAME.
> The file name, directory name, or volume label is syntactically incorrect.
> 
> Regards
> Cheng
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Rohit Gupta
> Sent: Monday, 21 May 2001 16:59
> To: Multiple recipients of list delphi
> Subject: [DUG]: IOERROR 123
> 
> 
> Does anyone know what IO error 123 is ?
> 
> 
> It has been (in the past) the direct error code reported by the OS 
> for file operations.
> 
> Cant find it in winapi error codes nor in Borland.
> 
> 
> Regards
> 
> Rohit
> 
> ======================================================================
> CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
> PH    (649) 489-2280 
> FX    (649) 489-2290
> email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
> ======================================================================
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED] 
> with body of "unsubscribe delphi"
> 


Regards

Rohit

======================================================================
CFL - Computer Fanatics Ltd.  21 Barry's Point Road, AKL, New Zealand
PH    (649) 489-2280 
FX    (649) 489-2290
email [EMAIL PROTECTED]  or  [EMAIL PROTECTED]
======================================================================

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to