[fpc-pascal] EFCreateError' Unable to create file
Vincent Snijders
vsnijders at vodafonevast.nl
Sun Jan 25 14:13:02 CET 2009
vmars schreef:
> (Lazarus-0.9.26-fpc-2.2.2-win32.exe) winXP sp2
> I am trying to SaveToFile a Memo1 to disk.
> But can't seem to get it to work.
> Is there a known bug?
>
> Try
> Memo1.Lines.SaveToFile(ExecuteName);
> Except ShowMessage('Shoots, couldnt SaveToFile!');
> end;
>
> [Project raised exception class 'EFCreateError' with message:
> Unable to create file
> ""C:lazarusfpc2.2.2bini386-win32Del2PasDel2PasDel2Pas.bat""]
It is imperfect handling of string that Lazarus gets from the debugger.
Vincent
More information about the fpc-pascal
mailing list