[Lazarus] Project options corrupts resource

Luca Olivetti luca at wetron.es
Mon Jun 27 11:31:31 CEST 2011


Al 27/06/2011 11:19, En/na Koenraad Lelong ha escrit:
> Hi,
>
> I just installed Lazarus 0.9.30 Win32 on Windows7 64bit.
> I opened and compiled a project made with Lazarus 0.9.28 on Windows XP
> 32bit. Everyting is fine. But when I try to change some project options,
> I get an error message :
> CygnusTest.pas(27,1) Error: Error while compiling resources
> CygnusTest.pas(27,1) Fatal: There were 1 errors compiling module, stopping
>
> I found that just clicking Project Options and then OK does this.
>
> What can I do to recover my project ? Fortunately, I did not do big
> modifications.

Try removing the icon. Then re-add it.
If that doesn't work, remove the "{$I projectname.lrs}" from the lpr 
file, then do the above again (remove/re-add the icon).

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004 (Ext.133)  Fax +34 935883007




More information about the Lazarus mailing list