Add anim gif to resource in VS 2005 (or 2003) doesn't working?

How to add anim gif resource to project

I try Add resource/Import, choose a gif file, in Custom Resource Type Window typing GIF (trying so "GIF") but it doesn't working. This message box is displayed:

http://www.racap.net/nuke/vc++/notvalidfile.jpg

I try this with some another gif files.

Thank for help.




Answer this question

Add anim gif to resource in VS 2005 (or 2003) doesn't working?

  • k10wn

    No reply, I try other way.

    Is thery any restriction for import gif resource in VS I can import gif with 8 bit color depth. But I want to import 32 bit color animated gif and it doesn't work. Any idea why it isn't possible



  • Scott BAldwin

    Hi,

    Even if we do not support Gif files as Bitmap resource type, this looks like a bug. Please report this defect to the MSDN Product Feedback Center.

    As a workaround, you can rename the Gif file to another extension before adding it to the RC. Then go back and rename it back both in the RC file and on the harddrive.

    -- Marian Luparu
    Visual C++ IDE


  • Add anim gif to resource in VS 2005 (or 2003) doesn't working?