Lazarus
Programming => Packages and Libraries => KOL => Topic started by: JohnvdWaeter on October 03, 2008, 09:56:27 pm
-
Hi All,
To polish my application (WinCE, KOL-CE) I wanted to add an icon to the executable.
I was suggested to create a resource-file in Delphi, add a Mainicon to it and copy the res-file in my application source dir.
After that, I inserted a {$R *.res} in the .lpr et voila, after compiling my app showed a beautiful icon.
But... after quitting and restarting Lazarus and opening my project-file, the IDE outcomments the resourcce-directive :
{$R *.res} becomes
//{$R *.res}
It looks like using a resourcefile this way is allowed by the compiler (2.2.0) but not allowed by the IDE?
tnx,
John
-
I would suggest that you ask this in the lazarus mailling list.