I have a loader application that dynamically loads a form residing inside a dll.
Everything works fine until I put a TcxGrid or a TcxTreeList on the form.
Then the application crashes on close with an access violation.
With a TcxGrid the stack trace tells 'TdxLayoutTextMetrics.GetCount'.
It will not crash when I delete the only view inside the grid.
With a TcxTreeList it is 'TcxLookAndFeelPaintersManager.Unregister'.
But it will only crash with a TcxTreeList when it contains at least one volumn.
I'm quite sure that all went fine with my complex application until yesterday, but now I can reproduce the crash even with a simple demo.
Any ideas how to fix it?
I've attached a little demo application.