Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

ExecPageSetupDlg function (TLMDPrinter) fails in 64-bits

Am a happy user of SyntaxEdit for almost 10 years, and yesterday updated to the latest 2024 package! So I should have the latest version.

I've noticed however that ExecPageSetupDlg fails (crashes). This probably started already after update from Delphi 10 to Delphi 11 (using LMD2014), because it has worked previously.

It happens in my own project, but should be possible to reproduce with MegaDemo for SyntaxEdit:

1. Build pMegaDemo.dproj for Win64 and Delphi 12. 
2. Select "Page Setup" from the menu
3. The dialog is displayed briefly and then closes. There is an AV.

It crashes in some low-level code in LMDPagePaint.

Building for Win32 and running works OK. The page setup dialog pops up as it should.

I'm compiling with Delphi 12 (latest update 1), using Windows 10 Pro (10.0.19045).

Thankful for any advice! The preview and print functions look OK. 

Best regards

Christer

Comments

Sign In or Register to comment.