Can dmd compile a favicon.ico to exe file ?

John Xu 728308756 at qq.com
Mon May 15 02:45:17 UTC 2023


Found a related link:
https://forum.dlang.org/thread/wogdypudrmrgwjysfkxg@forum.dlang.org

Where Adam D Ruppe informed rcc.exe from 
http://ftp.digitalmars.com/bup.zip

But, I got problem:

     rcc -r .\resource.rc
     IDI_ICON1   ICON  DISCARDABLE  "isp.ico"
     ^
     .\resource.rc(1) : Error: 'isp.ico' doesn't contain a valid 
Windows 3.0 icon resourc

Any help? My isp.ico was converted from a png with gimp, used in 
C# programs before,
shouldn't have any problem. Searched bing.com about "Windows 3.0 
icon", bing didn't give
much info.


More information about the Digitalmars-d-learn mailing list