[fpc-pascal] EFCreateError' Unable to create file

vmars vmars at rgv.rr.com
Sun Jan 25 05:28:08 CET 2009


(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""]

I'm wondering 'How come ExecuteName got all the \s taken out?'.
'F7' shows that :
'ExecuteName' = 
"C:\lazarus\fpc\2.2.2\bin\i386-win32\Del2Pas\Del2Pas\Del2Pas.bat"

ô¿ô
 V  e  r  n

WinXp sp2 ,  Delphi5, WebDwarf, Trellian WebPage, 
Lazarus-0.9.26-fpc-2.2.2-win32.exe,
wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1
http://www.flickr.com/photos/vmars956/

Wanted: Dwarf Hibiscus (Orange/Rasberry) 




More information about the fpc-pascal mailing list