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 » 26/03/18 19:04

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: 21/02/04 15:02
Location: Belgium

Re: Runtime error 216 using SynPDF

Postby Tom Rage » 10/04/18 22:21

An update to the latest version of Print Preview solved the problem.
Tom Rage
Active Member
Active Member
 
Posts: 14
Joined: 21/02/04 15:02
Location: Belgium


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 0 guests