Can dmd compile a favicon.ico to exe file ?

John Xu 728308756 at qq.com
Mon May 15 01:34:57 UTC 2023


On Friday, 12 May 2023 at 02:09:17 UTC, ryuukk_ wrote:
> create a ``ressource.rc`` file
>
> and paste:
>
> ```
> IDI_ICON1 ICON DISCARDABLE "myicon.ico"
> ```
>
> then put your ``mycon.ico`` file next to it
>
> ```
> my_project\
>     app.d
>     ressource.rc
>     myicon.ico
> ```
>
> ```
> dmd app.d ressource.rc

Thanks for your quick reply. I'll give a try.


More information about the Digitalmars-d-learn mailing list