I have a project that compiles to a dll. It is a project that I upgraded from Delphi 2006 to Delphi XE. The D2006 project does not use TMS controls, but I want to use them in the XE version of the project.
When I attempt to add any TMS control that has a button unit, I get a access violation at the end of the project. The unit compiles without problem and starts correctly. It appears to work correctly and when it is done, and I close my form and free the dll, I get a access violation. Removing the button component and replacing it with some other button non-TMS component results in no access violation. Other TMS controls, as long as they don't reference a button unit, appear to work just fine. Since the Access violation happens after I free my dll - I can't seem to track and catch the error.
Any thoughts?