Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Image Problem in ppUtils ?

edited October 2004 in General
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

Comments

This discussion has been closed.