VCL components in DLL

2004-07-20 12:58:51 AM
I'm trying to embed some VCL components in a DLL. I want to show these
components in the main form of my app by -after succesfully getting a
pointer to the VCL component- changing the Parent property from the form in
the DLL to the form in the main EXE. But this is not working. I get
assignment errors like 'Can not assign a TFont to a TFont'.
What am I doing wrong?
Thanks very much.