i'm not interested in changing the actual icon in the EXE that shows up in windows explorer, but just the icon that shows up in the top left of the console window. Already i set the icon in the visual studio project and i'm getting it nicely in windows explorer, and also that icon is showing up in the console window, i just want to be able to change it in the console windows at runtime. I.e lets say i wanted to put an icon that shows there are new emails or something.
A:
In the MSDN documentation for console functions, there is a comment added by a community member that discusses an undocumented function called SetConsoleIcon. A quick Google search for this function turns up some additional information that you may be able to use.
Josh Einstein
2010-06-07 03:04:08