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 

Delphi code in BCB6

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (IDE)
View previous topic :: View next topic  
Author Message
Holger Franke
Guest





PostPosted: Mon Apr 05, 2004 12:27 pm    Post subject: Delphi code in BCB6 Reply with quote



I want to change from BCB5 to BCB6. For this I've installed the trial
version.
In my project I use some Delphi-tools which works with BCB5 fine. The
compiler automatically creates the header-files and I never had problems
with it. But unfortunately BCB6 doesn't compile the Delphi-modules during
rebuild. And in the project-manager the conext menu item "Compile" is not
visible.

Is this a restriction of the trial-version (I hope so) or how can I use
Delphi-mudules with BCB6?
The Help says the procedure is just the same like in BCB5.

Holger


Back to top
Pete Fraser
Guest





PostPosted: Mon Apr 05, 2004 1:17 pm    Post subject: Re: Delphi code in BCB6 Reply with quote



My 'Pro' version of BCB6 also hides the 'Compile' context menu, but I've
never had problems with pascal files, of which I have a few, so I must
assume that it does compile them when it needs to. But then I hadn't noticed
that before so....
HTH Pete

"Holger Franke" <holger (AT) ktms (DOT) de> wrote

Quote:
I want to change from BCB5 to BCB6. For this I've installed the trial
version.
In my project I use some Delphi-tools which works with BCB5 fine. The
compiler automatically creates the header-files and I never had problems
with it. But unfortunately BCB6 doesn't compile the Delphi-modules during
rebuild. And in the project-manager the conext menu item "Compile" is not
visible.

Is this a restriction of the trial-version (I hope so) or how can I use
Delphi-mudules with BCB6?
The Help says the procedure is just the same like in BCB5.



Back to top
Craig Farrell
Guest





PostPosted: Mon Apr 05, 2004 5:58 pm    Post subject: Re: Delphi code in BCB6 Reply with quote



Hi,


BCB Project Manager collects together all Pascal files
in your project and invokes dcc32 to compile a pasall.tmp.
Specifying an Intermeditate output directory can inhibit that.

--Craig
Back to top
Holger Franke
Guest





PostPosted: Tue Apr 06, 2004 8:12 am    Post subject: Re: Delphi code in BCB6 Reply with quote

Thanks Craig, that was it!

Unfortunately BCB6 will not create the C-header for Delphi-modules at first.
If the main form uses such modules the headers are missing. Because I can't
force compiling of a single "pas"-file (!?) I have to create a project with
all Delphie-modules an no function to create all header-files. It's not a
very smart solution.

Is it possiple to configure BCB6 to work like BCB5 for Delphi-modules?

Holger


Back to top
Palle Meinert
Guest





PostPosted: Tue Apr 06, 2004 11:22 am    Post subject: Re: Delphi code in BCB6 Reply with quote

In the project manager you should drag all your pascal source file on top of
your cpp files. So when you make a build they will be compiled first and
generate the needed header files for your cpp-units.

You can still compile a single pascal unit, by opening it and select
compile-unit (<alt> + F9)

/Palle


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