Hello,
I've been using VPE for maybe 10 years now, and I have some problems when printing big documents.
I'm currently using VPE 3271 with Delphi 10.1.
Before now I had this problem occasionally when generating documents with a lot of pages (several hundreds), and I didn't know how to identify the cause...
It could be related to VPE.Picture or VPE.PictureResID, because I used it for a few small images per page, but maybe it was not related to images at all, because I used a lot of other functions...
But now I'm generating some new documents with only large images (one 257x190mm 600dpi bitmap on each page) with pictureStream, and I always have this violation when the number of pages is more than around 15.
I saw this problem was discussed on this thread, but not solved : viewtopic.php?f=7&t=1224&p=3301
I get an access violation message : "Violation d'accès à l'adresse 0F4EA6AE dans le module 'vpee3271.DLL'. Lecture de l'adresse 00000000."
In english : Access violation at 0F4EA6AE in vpee3271.DLL, reading address 00000000.
I have isolated the generation code, I can send you a ready to run sample project (with source code, exe and image sample used), but I don't know how to attach files in this forum.
Note that the hard way to do this simple bitmap printing (using Device Contexts and MemoryStream) is the only way I've found to get compliance between VPE and some grid component printing functions that I'm using (this TMS component uses a TCanvas, it takes care of dpi, and it is able to split onto several pages, but I had to use its preview function and customize it to get each page on a bitmap in preview mode).
Please can you tell me how to send you my sample project ?
Thank you !