Gotta say the level of response on this problem has been amazing! Some really interesting information has been brought to light that I'm sure I will find useful again in the future.... although I never made the request to solve this problem, I would like to extend my thanks to you all for the input on this....
Nothing is better than a group of like-minded people helping eachother out with their problems. Regards, Simon ----- Original Message ----- From: "Human" <[EMAIL PROTECTED]> To: "Delphi-Talk Discussion List" <delphi-talk@elists.org> Sent: Wednesday, July 12, 2006 11:08 AM Subject: Re: Error: -5 > > 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 __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk