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 

How can I write a component by CppBuilder and used it in del

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
malcolm liu
Guest





PostPosted: Sat Dec 13, 2003 11:36 am    Post subject: How can I write a component by CppBuilder and used it in del Reply with quote




Hi

I wrote a component by cppbuilder, But I want to use it in delphi, When I do that, Delphi report "File not found *.dcu" or "Required package not found".

Please help me

Thanks
Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Sat Dec 13, 2003 4:12 pm    Post subject: Re: How can I write a component by CppBuilder and used it in Reply with quote



You can't. C++ components can only be used in BCB.

malcolm liu wrote:
Quote:

Hi

I wrote a component by cppbuilder, But I want to use it in delphi, When I do that, Delphi report "File not found *.dcu" or "Required package not found".

Please help me

Thanks

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
If there is somebody up there could they throw me down a line. Just a
little helping hand just a little understanding. Just some answers to the
questions that surround me now. If there's somebody up there could
they throw me down a line. (Fish)

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Sat Dec 13, 2003 9:41 pm    Post subject: Re: How can I write a component by CppBuilder and used it in Reply with quote




"malcolm liu" <mao_qing_liu (AT) yahoo (DOT) com> wrote


Quote:
I wrote a component by cppbuilder, But I want to use it in delphi

Can't be done, sorry. Although you can write the component's source code
(which *must* be written in Pascal), you must put the component source code
into a Delphi-create package in order to install it into the Delphi IDE.
Likewise, Delphi component source must be placed into a BCB-created package
in order to be installed into the BCB IDE. BCB cannot use Delphi packages,
and vice versa.

Quote:
When I do that, Delphi report "File not found *.dcu" or
"Required package not found".

BCB does not produce DCU files.


Gambit



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