Horrendous Delphi 2007 bug in build 1063

Having just upgraded from 1019 to 1063 I find that all my Delphi 2007 builds acquire the "Generate Console Application" checkbox and get built as console applications.  Very luckily I spotted that a console window was opening behind every application that I ran, just as we were working towards a major new release of our product.

The Linker page is disabled ('settings will be loaded from the project file') and when the FB project is opened, the Console checkbox is clear (except on the few build actions that are really console apps).  The projects build correctly in the IDE, and the project file does not have the console flag set, but as soon as the action has run in FB, the (still greyed) Console checkbox is becomes checked and the built application opens a console window when run.  Even DLL builds acquire the Console checkmark, though this seems to be benign.

The greyed Console checkbox persists if the FB project is saved and reloaded, but dropping back to build 1019 resolves the problem and also clears the greyed checkbox as soon as the action runs.

I’m going to have to put my hand up and accept responsibility and apologise for this one. I checked in a fix for this setting not being loaded at all a week or two back, and somehow messed up the logic for D2007.

It didn’t help that Borland/Inprise/CodeGear kept changing the logic (stored reversed some versions)… I guess I got confused about which versions it was reversed in. We’ll issue an update to FB6 later today.


Thanks for the quick response (as usual!).  By the way, I thought in retrospect that 'horrendous' was too strong, and would have changed it had it been possible to edit the subject line of a posting here; I could not find an easy way to do this.  In the event we were lucky that a badly broken 'release candidate' of our product only reached one customer.