TChart XE6 issue with freeing library containing FreeLibrary
Posted: 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
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