| View previous topic :: View next topic |
| Author |
Message |
Holger Franke Guest
|
Posted: Mon Apr 05, 2004 12:27 pm Post subject: Delphi code in BCB6 |
|
|
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
|
Posted: Mon Apr 05, 2004 1:17 pm Post subject: Re: Delphi code in BCB6 |
|
|
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
|
Posted: Mon Apr 05, 2004 5:58 pm Post subject: Re: Delphi code in BCB6 |
|
|
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
|
Posted: Tue Apr 06, 2004 8:12 am Post subject: Re: Delphi code in BCB6 |
|
|
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
|
Posted: Tue Apr 06, 2004 11:22 am Post subject: Re: Delphi code in BCB6 |
|
|
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 |
|
 |
|