Win32 C/C++/VB: Inject icon into c++ program
Win32 C/C++/VB: Inject icon into c++ program
RealWorld Graphics logo    
Not logged in.  
IndexSoftwareGraphicsArticlesDiscussMore...

Login/Register
Forum List
Announcements
Icons and Cursors
Images
3D graphics
Win32 C/C++/VB
.NET C#/C++/VB
Tips and tricks
General discussion
User List
Search this site using Google

Free newsletter
Your email address:

Is the speed of this web adequate?

Back to forum Win32 C/C++/VB

Inject icon into c++ program

vs.net 2003

2007-02-04Author: leuk_he
Ok, Made a icon, not that hard.

But vs studio.net 2003 sp1 does not supprot the new vista format yet:

".\myapp.rc(298 : error RC2176 : old DIB in myicon.ico; pass it through SDKPAINT"

which is of course a result of the png info which did not exist before.

Is there still a way to inject the new resource into my application so vista will see it?



2007-02-04Author: Vlasta
Yes, you can either install the latest Windows Platform SDK or use this icon replacer.

2007-02-04Author: leuk_he
Just what i need! thx for the speedy reaction.

I just did not notice the left menu changed and more articles were availabe, i just noticed the "What is a ..."

2008-03-12Author: jonnyg
I recently hit the "old DIB in xxxx.ico; pass it through SDKPAINT" problem and came across this thread while looking for a solution. I was using an application named Icofx v1.5.01 to create my ico file and I got rid of the problem by unselecting the option to "Compress 256x256 images for Windows Vista". (Menu | Options | Preferences | Options Tab)

I'm developing an MFC app using Visual Studio 2005 Pro Edition. I'm developing and testing on XP machines, so I do not yet know what impact this will have when/if I try to run this on Vista.

2008-03-12Author: Vlasta
It will work on Vista without problems, but an uncompressed icon with all formats takes ~400kB, which is relatively lot.


Post Reply

Please login or register before posting.

Message text:


Back to forum Win32 C/C++/VB

Copyright © 2005-2007 RealWorld Graphics. Contact: info@rw-designer.com.