TChart XE6 issue with freeing library containing FreeLibrary

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
WaveSystems
Newbie
Newbie
Posts: 1
Joined: Fri Apr 11, 2008 12:00 am

TChart XE6 issue with freeing library containing FreeLibrary

Post by WaveSystems » Wed Jul 02, 2014 7:39 am

We have an application which contains a number of DLLs all built with Delphi XE6. Both the application and DLLs are build with "link with runtime packages". The VCL package is entered in both projects as "Runtime Package".

We load the DLLs once the application has started.

When we try to unload (FreeLibrary) the DLLs, the application freezes once it gets to the DLL containing TChart.

If we remove TChart from that DLL it will unload/free it without any issues.

Was working without any issues in all versions up to XE3 - Does not work with XE6 / XE6 Update 1. Latest version of TeeChart for XE6 is installed. v2014.11.14512

This needs to be fixed ASAP.

---
Steps to reproduce:
see attached project group.

Open project group.
compile both projects to same location.
Project will build with VCL runtime package.
Run Project1.exe and press "Load Lib".
When you press "Un-Load Lib" the application freezes.

If you remove the VCL Runtime package from both projects and build/run the application again you can load and unload as many times as you want.

We believe the problem is caused by VclTee.TeeGDIPlus being included in the uses clause in the DLL.

Even if you have a blank form and add VclTee.TeeGDIPlus to the uses clause it will cause the system to freeze when you try to unload the DLL.

Thanks,
Lukasz
Attachments
Projects.zip
(59.07 KiB) Downloaded 344 times

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChart XE6 issue with freeing library containing FreeLibrary

Post by Yeray » Thu Jul 03, 2014 8:37 am

Hi Lukasz,

I've just answered you in the Embarcadero forums:
https://forums.embarcadero.com//thread. ... dID=106580
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply