Icons and exe files
- Posted by Mike777 Aug 07, 2008
- 987 views
Using the following command, I can inject a desktop icon into an exe file compiled with Watcom:
wrc -q -ad myrcfile.rc myexefile.exe
The myrdfile.rc has a single line:
MYEXEFILE ICON MYICONFILE.ICO
This works fine for the desktop icon. However, the icon at the top left of each window in the application itself remains "unassigned" or at least it appears that way.
What is the accepted method for setting the icon in the application (as opposed to the desktop icon)?
Thanks
Mike