Gif-files are not display in load picture master in BCB6 Professional IDE. TGIFImage class register from teechart8 component so this module is used for gif images.
Application crash due to incorrect work GIFImage.pas module (only animated gif?)! Application is simply breaked by Windows in Runtume. In Debugger I see exceptions ... In one case gif-file is displayed normal in other case same gif-file is reason of application crash (abnormal termination).
Debugger stop at this Access Violation string
Gifimage::TGIFPainter::DoPaint:
00441BA2 8B402C mov eax,[eax+0x2c]
What is the hell??? In BCB5 with TeeChart5.02 all this gif-files are animated absolutly correctly! Help!
Following Sorce Code is always raise exception for big application. For small application exception always raise if I go step by step in debugger:
MyBitmap->Canvas->StretchDraw(Rect,Picture->Graphic);//ps
where
Graphics::TBitmap *MyBitmap;
TPicture *Picture;
TRect Rect=TRect(0,0,MyBitmap->Width,MyBitmap->Height);
Picture->Graphic is TGIFImage type
ps: Exception don't instantly raise. Exception occur when function (containing this code) ends.
TeeImage8C6.@Gifimage@TGIFPainter@DoPaintFrame$qqrv
00335D68 8B402C mov eax,[eax+0x2c]
TChart 8.02 and BCB6, help!!!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi avnalobin,
It could be possible that your BCB is trying to use TeeChart's GifImage unit instead of BCB's. You should check that BCB paths are above TeeChart's at the Include and Libray path lists at Project->Options->Directories/Conditionals.
You may also be interested in reading this thread for more information on gif units compatibility.
Hope this helps!
It could be possible that your BCB is trying to use TeeChart's GifImage unit instead of BCB's. You should check that BCB paths are above TeeChart's at the Include and Libray path lists at Project->Options->Directories/Conditionals.
You may also be interested in reading this thread for more information on gif units compatibility.
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
BCB don't support gif-file by default. VCL Source code of Graphics.pas module where supported graphic types are:narcis wrote:Hi avnalobin,
It could be possible that your BCB is trying to use TeeChart's GifImage unit instead of BCB's.
constructor TFileFormatsList.Create;
begin
inherited Create;
Add('wmf', SVMetafiles, 0, TMetafile);
Add('emf', SVEnhMetafiles, 0, TMetafile);
Add('ico', SVIcons, 0, TIcon);
Add('bmp', SVBitmaps, 0, TBitmap);
end;
I use gif-files over TGIFImage class from TChart8! I had to work earlier with TGIFImage class from TChart5 on BCB5, it work well.
all correct.You should check that BCB paths are above TeeChart's at the Include and Libray path lists at Project->Options->Directories/Conditionals.
It is other case.narcis wrote:this thread