I was surprised when i discovered Laz/FPC automatically compiles rc
files if using $R directive but you must specify the extension, dunno
about Delphi ...
Windows automatically assigns the lowest id icon to the executable and
it's forms but one can specify any other icon, problem is Lazarus
unlike Delphi doesn't use the HICON (probably crossplatform issue wich
might somehow be fixed since HICON is really an ID) handle windows
requires to set icons instead it uses hbitmap wich is incompatible and
raises AV, however you can still assign any icon you wish but you
*HAVE* to use windows api calls to obtain correct HICON handle and the
icons have to be loaded either from disk or resources.
On Linux and unix i think setting form icon work well because those
platforms were made by people who didn't want to go through the
trouble of using many different handle types and different api calls
for images and they probably used a single internal format for all
drawing related calls, i guess that's what TBitmap uses internally.
Razvan
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives