Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing Zoom setting crashes Development Environment
Message
De
04/08/2023 20:13:49
 
 
À
04/08/2023 16:30:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01686903
Message ID:
01686912
Vues:
37
>>>Whenever I attempt to change the Zoom setting when Previewing 2 particular Reports with SET REPORTBEHAVIOR 90, see a brief flash of the re-scaled Preview followed by the Development Environment crashing. Other Reports work correctly and this does not occur in the compiled versions running the same 2 reports.
>>>
>>>I looked at the Windows Error Log and it appears to be an issue with the NTDLL.DLL file in the Windows/System32 folder. Stumped as to why this is happening for these 2 reports.
>>
>>You could open the reports as tables and remove any instances of CHR( 0 ) that may be present in character or memo fields.
>
>Hi Al
>The problem I see with this, the frx itself could rarely be the problem. The report as such is run. This is SET REPORTBEHAVIOR 90, and I think Marshal will use a standard approach. So all pages are stored to memory before calling the preview.
>The first page is rendered from memory stored GDI+ image. What fails is listeners OutPutPage re-rendering the same image from memory to the canvas in a different scaling. (it is unproven if rendering the very same page on same scale will work.) It's more like the complexity / size of the GDI+ image(s).
>I have now idea how complex the stored GDI+ information is, if it holds layer like stuff like it is used while creating the picture, or if only the resulting bitmap exists.

I suggested some system level checks and tests in a reply in the other thread, I don't know if they were tested, or the results (e.g. SFC).

Speaking of GDI+, I remember Rich Simpson (developer of Mind's Eye Report Engine [MERE]) discussing an issue with it - some sort of capacity or complexity limitation. I did find this discussion: https://social.msdn.microsoft.com/Forums/en-US/c34f92fb-1fe0-4d70-baf8-31d9b0d6316f/reportlistener?forum=visualfoxprogeneral . Anyone else remember anything about this? The link talks about reports with thousands of pages of output but ISTR Rich was talking about complex reports using a lot of GDI resources (?)

Update: you posted Thread#01476778

Update 2: Rich's original post Message#01024004
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform