After I changed the C++ Builder and Delphi compiler to version 2010 (update 5) and TRichView to version 12.0.4 I am experiencing problems with GIF animation (the same code worked on C++ Builder 2007 previously).
I provide the example project with example GIF file xbuu.gif in http://depositfiles.com/files/o4ucntsy0
or
http://rapidshare.com/files/394059443/tesrv.zip.html
I have included both required modules:
Code: Select all
#include "RVGifAnimate2007.hpp"
#include "GifImg.hpp"
and call the image insertion process:
Code: Select all
RichView1->Format();
TGIFImage *tgi = new TGIFImage();
tgi->LoadFromFile("..\\xbuu.gif");
RichView1->AddPictureEx("test", tgi, 0, rvvaBaseline);
RichView1->FormatTail();
RichView1->StartAnimation();
I tried many options including reinstalling TRichView component etc. No results The images are frozen.
In the project there is the same image in TImage component that animate...
Please any help.
Jacek