Sign in to follow this  

Need some help associating an icon with .exe

This topic is 4305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys, I have a quick question. I have an icon that I would like to associate with my .exe. I created a new resource in visual C++ 6.0 and imported my icon. Here's where I'm stuck. How do I actually get the resource to compile with my program so that my .exe will have my icons picture on it? I looked through the msvc help and msdn and they were no help at all. Thanks in advance for your responses. Cyber

Share this post


Link to post
Share on other sites
The icon used for the exe file is always the first icon in the resource section. The icon used for the window is whichever one you send to CreateWindow(Ex) when you create it.

Share this post


Link to post
Share on other sites

This topic is 4305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this