C - Adding icon to exe using makefile. Windows -


i trying add icon image .exe file in start menu. environment using c (geany) in windows 8. compile using make file gcc , create installer using nsis script.

my resources.rc file looks like:

#include "resources.h" main_icon icon "icon.ico" 

my resources.h file looks like:

#define main_icon 1 

after compilation image shows in bottom bar , thumbnail in directory. after installation of program however, thumbnail shows in directory in start menu , bottom bar image default windows image. hope not vague , in advance help.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - How to Hide Date Menu from Datepicker in yii2 -