I found weird problem with TPP in my application.
I use PaintGraphicEx method to draw a bitmap from TImage object.
It's often (9 of 10 times) when i draw about 10+ pages i got pages filled in black in printable area instead a bitmap which i draw.
I absolutely can't understand what happening and can't provide more information. It's hard for me to debug TPP's internal functions
I tried to save my bitmaps to file with TBitmap::SaveToFile() method
and opened it with picture viewer, and they displayed ok, so i can say that source bitmaps which i specify to PaintGraphicEx are "correct".
I'll be so happy if somebody can help me. Thank you!
I use C++ Builder 6 Enterprise + TPrintPreview v4.71