Unit AdvGdip

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;
 
What is wrong?
 
Ole
 
  1. Did you try this with the latest version 6.1.1.0 ?
    2) If so, how exactly can this be reproduced?
    3) If so, please provide more information if you use a DLL and/or runtime package with your app and how

My licence is expired, I will order a new licence tomorrow monday and check if the error is still there.

 
A strange thing is this error occurred when I reinstalled Win7 on my laptop.  Delphi version and all component libraries are exactely the same as before I reinstalled.
 
Regards,
Ole

After installing the newest version, the error is gone :)

 
Ole