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 

Use VCL into DLL

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage)
View previous topic :: View next topic  
Author Message
Jérémy
Guest





PostPosted: Mon Apr 26, 2004 11:49 pm    Post subject: Use VCL into DLL Reply with quote



Hi,

I'm using BCB 6 Update 4 and I have put un function in a DLL. The function
has example TComboBox *CmbTemp as argument and inside the function I do
AnsiString Test = CmbTemp->Text;

But when I use this DLL in a client program, the client program loose it's
icon and I cannot minimized it.
It's weird because when I change the line to //AnsiStirng Test =
CmbTemp->Text; in the DLL, everything is ok!

Can you help me?

Thanks
Jérémy


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Tue Apr 27, 2004 12:08 am    Post subject: Re: Use VCL into DLL Reply with quote




"Jérémy" <jed (AT) cambior (DOT) com> wrote


Quote:
I'm using BCB 6 Update 4 and I have put un function in a DLL.
The function has example TComboBox *CmbTemp as argument
and inside the function I do AnsiString Test = CmbTemp->Text;

If you are going to use the VCL then you should be making a Package instead
of a DLL. A Package is a special type of DLL that has native VCL support
built-in.


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) 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.