Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finishing a project (adding icons)

Status
Not open for further replies.

rewclaus

Programmer
Mar 7, 2005
16
US
ok, so I finished a project and made an exe file from all my code. However, I cant change the icon of my new exe file. Can anyone help me on this?
 
Is this a console program or a windows program? If it is a Windows program, you can set it when you do the initial class or by sending a WM_SETICON message. See


The icons can be added to the resources - they normally have an IDI_ prefix. If it is a console program, you can set it in the shortcut.
 
well I guess I am a little lost. I do not really know the difference between a console program or a windows program. Also that link...I don't really understand it. where do I put that stuff? Directly in my C code?
 
Have a look at your link line. Does it say /subsystem:console or /subsystem:windows.

A console program appears in a cmd window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top