error RC2176 : old DIB in res\icon3.ico; pass it through SDKPAINT?

Bart picture Bart · Aug 2, 2010 · Viewed 10.1k times · Source

what is this Error, and how to resolve it? I am using Visual studio 2005 for Smart device MFC developement, Is upgrading to 2008 can solve my problem.

Error 85 error RC2176 : old DIB in res\icon3.ico; pass it through SDKPAINT

Thanks

Answer

Codejoy picture Codejoy · Aug 4, 2010

this might help you: http://www.axialis.com/tutorials/vistaicons.html

It looks like vista icons now use PNG headers. The error is slightly false though as its not an old DIB its just a header it doesn't recognize, PNG.

How was that icon created? Long ago Visual C++ 6.0 had its own little way of creating icon .ico files. Probably not using PNG so this might be the way to go is to find some program to emulate that and create an icon using the old DIB way. Or upgrading to 2008 :)