The easiest way to use Vista icons in VS 2005?

I downloaded the Vista icon from the Internet for a new application that I am developing. When I try to compile it in Visual Studio 2005 C ++, I get an error message:

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

The error message seems a bit misleading, I think the “old DIB” is actually a newer format that he did not expect. I have never heard of SDKPAINT, and Search has not found it on my system anywhere. Microsoft claims that SDKPAINT ships with the Windows 3.0 SDK, but I cannot download the SDK due to incompatibility with our firewall.

I really don't need any Vista feature specific to this icon, so anything that could reset incompatible bits would be nice.

+3
source share
2 answers

I did a little work and I found this previous question:

What icon editing software would you recommend for creating icon apps

The accepted answer to this question was suggested by IcoFX . I downloaded this and used it to remove the 256x256 and 128x128 versions of the icon, and now everything is fine.

+1
source

There are two more ways in Visual Studio 2005:

  • rc.exe rcdll.exe Visual Studio 2005 , SDK (, Windows Vista, 7...) DDK/WDK (ditto)
  • SDK Visual Studio 2005 , SDK

- , .res, Visual Studio 2005 ( ) SDK, . , , , .

0

Source: https://habr.com/ru/post/1710615/


All Articles