Image Problem in ppUtils ?
I just got some problems with image, and i stepped through the source
in ppUtils i found following
ppGetDIBSizes(lHBitmap, liInfoSize, liImageSize);
lpBitMapInfo := AllocMem(liInfoSize);
lpImage := AllocMem(liImageSize);
but sometimes lHBitmap is 0 and the resulting imagesize is about 2GB.
(Specially if painting mask
(the TBitmap is the mask bitmap which is created in
ppDrawTransparentDIBitmapUsingStretchBlt)
... useing RB 7.03
in ppUtils i found following
ppGetDIBSizes(lHBitmap, liInfoSize, liImageSize);
lpBitMapInfo := AllocMem(liInfoSize);
lpImage := AllocMem(liImageSize);
but sometimes lHBitmap is 0 and the resulting imagesize is about 2GB.
(Specially if painting mask
(the TBitmap is the mask bitmap which is created in
ppDrawTransparentDIBitmapUsingStretchBlt)
... useing RB 7.03
This discussion has been closed.
Comments
There were a few fixes made to the image handling routines in ReportBuilder
7.04. You may want to try upgrading to the latest version and see if that
helps as well. This would be a free maintenance upgrade for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com