Delphi XE, Win7-64, Component pack 5-0-9-2
When I close my app there is an exception pointing to NtDll.Dll error.
When I click Break in the Delphi Ide the unit AdvGdip shows and highlight the Finalization.
If I comment out this section there is no error message when closing my application.
// Close GDI +
if not IsLibrary then
begin
StartupOutput.NotificationUnhook(gdiplusToken);
GdiplusShutdown(gdiplusToken);
end;
if not IsLibrary then
begin
StartupOutput.NotificationUnhook(gdiplusToken);
GdiplusShutdown(gdiplusToken);
end;
What is wrong?
Ole