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 

generating a dcp along with the bpi/bpl/lib from a bpk

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





PostPosted: Mon Nov 10, 2003 12:38 am    Post subject: generating a dcp along with the bpi/bpl/lib from a bpk Reply with quote



Hi all

I have a C++ Builder package (A.bpk) containing pascal files for a set
of components. When I compile this package, I get a bpi file (A.bpi, for
inclusion in the requires node of other packages), a lib file (A.lib,
for linking) and a bpl file (A.bpl, for use a runtime package).
I have the equivalent of this package as a Delphi package (A.dpk) and
this generates me a dcp file (A.dcp for use in the requires node) and a
bpl file (same name, same use a BCB).

My problem is that I have a second package (B.bpk) that requires the
first package (A.bpi in the requires node) and some pascal units in the
second package use units from the first package. So the pascal compiler
complains that it cannot find the dcu files for the files from the first
package. The solution I found was to add the path to these dcu files to
the LIBPATH for B.bpk. For many reasons, this is not quite satisfactory
(even if it works) and I'd like to do the same stuff as with VCL
packages: Indicate the dcp file to the Pascal compiler.
Indeed, the dcp file contains a compilation of the dcu files. If I
generate A.dcp using Delphi, I can use it with A.bpk and it works. But
most users won't have Delphi AND BCB installed so I'd like to know if
there is a way to tell BCB to generate the dcp file on top of the 3
usual files (bpi,bpl,lib)

Thanks a lot for your help

Olivier 'OBones' Sannier

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Nov 10, 2003 1:15 am    Post subject: Re: generating a dcp along with the bpi/bpl/lib from a bpk Reply with quote




"OBones" <obones_fff_ (AT) meloo_fdf_ (DOT) com> wrote

Quote:
I'd like to know if there is a way to tell BCB to generate
the dcp file on top of the 3 usual files (bpi,bpl,lib)

Sorry, there is not. DCP is a Delphi-only file. BCB will not generate one
for you.


Gambit



Back to top
OBones
Guest





PostPosted: Mon Nov 10, 2003 5:14 am    Post subject: Re: generating a dcp along with the bpi/bpl/lib from a bpk Reply with quote



Remy Lebeau (TeamB) wrote:

Quote:
Sorry, there is not. DCP is a Delphi-only file. BCB will not generate one
for you.

That's what I thought... This is really annoying... But basically, isn't

the DCP file a concatenation of all the units ?


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Mon Nov 10, 2003 7:08 am    Post subject: Re: generating a dcp along with the bpi/bpl/lib from a bpk Reply with quote


"OBones" <obones_fff_ (AT) meloo_fdf_ (DOT) com> wrote


Quote:
But basically, isn't the DCP file a concatenation of all the units ?

I wouldn't know. I am not a Delphi programmer. Someone else will have to
answer that. Try asking in the Delphi groups instead.


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.