Windows可执行文件

来自百合仙子's Wiki
跳转到导航 跳转到搜索

工具

释放exe图标[1]

f="/tmp/ico.ico"
wrestool --extract --type=group_icon $1>$f
icotool -x $f

给程序加图标

编写资源文件:

id ICON "path/to/my.ico"

(id 是数字。)

然后使用 windres 编译成目标文件:

windres my.rc -O coff -o my.res

最后将其与别的目标文件链接在一起即可。[2]

外部链接

参考资料