Lazarus

Programming => Packages and Libraries => KOL => Topic started by: JohnvdWaeter on October 03, 2008, 09:56:27 pm

Title: About {$R *.res}...
Post 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
Title: RE: About {$R *.res}...
Post by: felipemdc on October 07, 2008, 01:06:58 am
I would suggest that you ask this in the lazarus mailling list.
TinyPortal © 2005-2018