I had a home how similar error on a user from Asia (Japan). He had unicode characters in the folder's name: c:\Documents and Settings\???????\Local Settings\Temp\MyTempFile.tmp Some functions could handle those characters but others could not. Trying to see if the file exists reported true. Trying to open the file generated an errror.
Anyway I don't think this is your case... but I just let you know. --- David J Taylor <[EMAIL PROTECTED]> wrote: > Orca Skynet wrote: > > Dont't know if this was mentioned before but -5 means access denied > > and often occurs if the specified search path does not exist, instead > > of the -3 'path not found' .... > > > > mfG > > Lode > > No, I don't think that was mentioned. It could certainly happen in this > case where the program is looking for non-existant directories. However, > thinking that this might be the case, I added an "if DirectoryExists > (folder)" before the FindFirst iteration, but that didn't solve the > problem. > > Thanks, > David > > > __________________________________________________ > Delphi-Talk mailing list -> Delphi-Talk@elists.org > http://www.elists.org/mailman/listinfo/delphi-talk > If I choose Christianity then the Islamic will say I'm a pagan. If I choose Islamic then the Buddhism will say I'm a pagan. If I chose Buddhism then the Jewish will say I'm pagan. If I choose no God then everybody will say I'm pagan. Please, can I be free? Can you NOT tell me how I should live MY life? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk