BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Loading frame from a dll

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using
View previous topic :: View next topic  
Author Message
D Whaley
Guest





PostPosted: Mon Oct 27, 2003 5:20 pm    Post subject: Loading frame from a dll Reply with quote



I am trying to load a custom frame from a dll. But, when I try to assign the
parent, I get the error "Cannot assign a tfont to a tfont"

What is this about?


Back to top
Peter Below (TeamB)
Guest





PostPosted: Tue Oct 28, 2003 8:13 pm    Post subject: Re: Loading frame from a dll Reply with quote



In article <3f9d53dc (AT) newsgroups (DOT) borland.com>, D Whaley wrote:
Quote:

I am trying to load a custom frame from a dll. But, when I try to assign the
parent, I get the error "Cannot assign a tfont to a tfont"

What is this about?

This only works if you build DLL and host EXE with run-time packages. Without
that you are dealing with two different copies of the VCL code and all its
classes, one in the DLL, one in the host EXE. So both have a TFont class, but
they are different to something like the Is operator, since they have
different addresses for the class records.
Quote:


--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Using All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.