Runtime error 216 using SynPDF

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

Runtime error 216 using SynPDF

Postby Tom Rage » March 26th, 2018, 7:04 pm

Hi,

using Delphi XE with Print Preview 5.61 and SynPDF v1.18 on Windows 10:

PDF creation works fine but after closing my application I get runtime error 216.
Even when I don't print anything I keep getting the runtime error when I use {$DEFINE SYNOPSE} in my project options.
I traced it down to the finalization of unit SynGdiPlus.

finalization
Gdip.Free;
Windows.DeleteCriticalSection(GdipCS);
end.

Gdip.Free causes the problem, so Windows.DeleteCriticalSection(GdipCS) is skipped when debugging.

Any help appreciated.
Tom Rage
Active Member
Active Member
 
Posts: 14
Joined: February 21st, 2004, 3:02 pm
Location: Belgium

Re: Runtime error 216 using SynPDF

Postby Tom Rage » April 10th, 2018, 10:21 pm

An update to the latest version of Print Preview solved the problem.
Tom Rage
Active Member
Active Member
 
Posts: 14
Joined: February 21st, 2004, 3:02 pm
Location: Belgium


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron