Hello to all,
The problem is related with floating panels. As you can see in the attached sample application, I place in the main form one dock panel in a dock site. The main form creates a second form in order to be placed in the refered dock panel.
If we start the application and then close it, nothing happend, that is, no errors occur. However, if we place the dock panel "floating", and then try to close the application an "Invalid operation" is raised.
The "rare" thing is I am try with FastMM4 in full debug mode, and, apparently, the second form no need to be freed when the main form is destroying (?). That is, no matter if the dock panel is floating or not, if we simply don't free the second form, no errors or memory leaks appears, even using FastMM4 in full debug mode.
But hey,... we creates the second form and we are the responsible to free it... and in fact this is what happend in previous releases.
I use dock panels in my application from long time ago, and I can perfectly remember how I can float the panels and close the application without problems, even when I free my "dock forms", since I create it before.
For this reason I think this is an error or a "new" and rare behaviour (to me) in the latest release of the Docking components.
What do you think about? Please, try the attached application and tell me if you can reproduce this problem... or if I am wrong...
Thanks very much in advance.