🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9376

VCL components in DLL

#9376
From: Pere Mateu
Date: Mon, 19 Jul 2004 17:00
11 lines
1193 bytes
Hi,

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.
Pere
Technical Details
Message-ID: <40fbfe0c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a715283d5a51ae91,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Pere Mateu" <pmateu@siam.es>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: VCL components in DLL
Date: Mon, 19 Jul 2004 19:00:02 +0200
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 81.203.227.181
Message-ID: <40fbfe0c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090256396 81.203.227.181 (19 Jul 2004 09:59:56 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail