By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

MFC help

100+
P: 100
Hi,

I need to load an icon for which i have added the to the project a resource file.and it is called "some.icon" in "Resource Files".

How to use it?....I am using MS visual studio c++ 6.
Jun 13 '07 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197
Do you have "Programming Windows with MFC" by Jeff Prosise?

Basically, you don't do anything with the resourse. However, if your MFC code needs the icon it will get it from the Resources. Your compiled program must have all the resources as part of the object file. You put resources in your project so the build can put them in your executable.
Jun 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.