TChart 8.02 and BCB6, help!!!
Posted: Fri Feb 08, 2008 5:32 pm
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]
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]