I have an application that I make a call to a DLL function that creates and returns a form. I get a whole bunch of errors when I try to parent this new form to the main form in the application.
Is that a common error / problem or is there not an issue with parenting in this case.
And as far as I have learned a form created in a DLL call doesn’t belong to the application. Is there a way to make the newly created form belong to the application.
Thank you,
Tim
compile your dll and exe with the same version of delphi compiler with the same runtime packages.
also in dll do not use any calling convension like stdcall or cdecl on your form-creating-function.
it will work like a charm.