Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Zoom setting crashes Development Environment
Message
From
04/08/2023 16:30:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
04/08/2023 15:14:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686903
Message ID:
01686910
Views:
32
>>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.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform