cool, now I have the icon resource added.
by default it created a file 'icon1.ico' so in my project folder i just deleted that file and replaced it with my icon that i had already created.
when setting up my window i tried this, and when my firewall asks me to allow the progrom my icon is used, but after that when the actual window is displayed the icon is not used. it is the default exe icon. what am i doing wrong?
Note that (according to MSDN) "This function has been superseded by the LoadImage function." Though this doesn't stop a lot of people from still using LoadIcon.
LoadImage was introduced in Windows 2000, so that's how long LoadIcon has been deprecated!