Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Turbo Delphi 2006 / Delphi 2009 question (https://www.kinook.com/Forum/showthread.php?t=4289)

Roaster 11-08-2009 01:21 PM

Turbo Delphi 2006 / Delphi 2009 question
 
Hi,

I'm trying to build a Turbo Delphi/BDS2006 and D2009 project in VSB 7.x.

This works perfectly, however, every time I perform a build in VSB, the Borland IDE gets started, compiles and exits afterwards. Is this by intention? I expected that the IDE does not start up but using the command line compiler instead.

I've just set up a Filename in Project/Group: Q:\_DelphiGlobals\MyCmdLinkButton\package\MyCmdLin kButtonD10R.bdsproj
nothing more at the moment.

OTH, I've installed Delphi 2009, too, and would like to compile this project in this IDE, in a further step.
I'm using this Filename Q:\_DelphiGlobals\MyCmdLinkButton\package\MyCmdLin kButtonD12R.dproj in Project/Group and the IDE does not start up but compiles in the background, which is perfectly.

What did I made wrong in case of Turbo Delphi?

Edit: When compiling the project in Delphi 7 (Filename: \MyCmdLinkButton\package\MyCmdLinkButtonD7R.dpk) the IDE, too, isn't starting.

kinook 11-09-2009 06:27 AM

In v2006, the .bdsproj file can only be built by the Delphi IDE, which displays a GUI when run. The older .dpr/.dpk file formats can be built with dcc32, which is a console app.
http://www.kinook.com/VisBuildPro/Ma...ctgrouptab.htm
http://www.kinook.com/VisBuildPro/Ma...optionstab.htm

Roaster 11-09-2009 10:02 AM

thanks for your reply.

I didn't know this! How does VBP distinguish which IDE to call (Delphi 7 / BDS 2006) when using a filename with extension .dpr/.dpk?
( I guess I've to use the 'Override default compiler location:' option, correct? )

As already mentioned, I would like to use VBP to compile a project in Delphi 7 and BDS2006, using the command line compiler.


All times are GMT -5. The time now is 09:54 AM.


Copyright © 1999-2023 Kinook Software, Inc.