To add an ICON statement to your resource-definition file, insert the following line at the beginning of the file, immediately after the #include directives:
MyIcon ICON myicon.ico