Salut Bryan Smith !
Dans un message de Bryan Smith dat‚ du 22 Jun 96 19:19:41 il ‚tait dit:
BS>> Thanks to Francois Piette for his "Hello World" post of 07 Jun
BS> 96. It made you think.
FP>> I am glad you appreciated my contribution...
BS> I discovered that
BS> Delphi will not put an icon into a minimal program of thistype, even
BS> though you specify one in Delphi's Options|Project. I had thought that
BS> even a tiny Windows program of this type could have "resources", but I
BS> guess it is not so. Do you have any ideas as to which library brings in
BS> the ability to include icon resources ? Perhaps holdingan icon is a
BS> property of the main form, and we don't have a form here.Of course,
BS> you can add the icon after compiling, by use of a resource editorsuch
BS> as BPW's. But it is a pain to have to repeat that step after each
BS> new compilation.
I have not tried it, but I think you only need to add {$R *.RES} in
your project file and build a RES file using a resource editor. It
then will be linked with your application. No need for a form at all.
Amiti‚s,
{-Francois Piette-}
--- SvFido 1.32
---------------
* Origin: OverByte BBS (Embourg-Belgium) 32-41-651395 V-FAST (2:293/2202)
|