Where Developers Matter
Integrated Development Environments for Windows, Java, and Web Developers
| | Log On

Delphi 2007 - List of Fixed QC Reports in Update 3

By: Chris Pattinson

Abstract: Over 100 fixes to QC reports to the Delphi personality as part of the RAD Studio 2007 release

September 10, 2007

By Chris Pattinson, CodeGear QA Manager

Over 500 fixes were made in the Delphi 2007 personality of the RAD Studio 2007 product. These fixes are made available to Delphi 2007 users as part of Update 3.

The following document summarizes (alphabetically, by area) 115 fixes that were made to issues reported in Quality Central.

Area

Documentation

Description:

[QC Short Description]
no help for several DBExpress components

[QC Description]
There is no help for several of the DbExpress components.

These include:
TSqlMonitor
TSqlQuery
TSqlStoredProc
TSqlTable

These have help for some of the properties/methods:
TSqlDataset
TSqlDataLink
TSqlConnection

QC Entry 49503

Area

Documentation

Description:

[QC Short Description]
Missing documentation in D2007

[QC Description]
1) I've searched for "blockwrite" in help of D2007 pressing F1 key on reserved word blockwrite.
I've obtained a "No help found for context." message.

2) In addition, I've searched for "blockwrite " directly in the Help: I found finally the item
"system.blockwrite": but there is only the description but is missing the syntax !
QC Entry 45163

Area

Documentation

Description:

[QC Short Description]
Documentation is not fully translated

[QC Description]
(Spacely installed in french)
Open the help, expand the RAD Studio and then Rad Studio (Win32)

This will display some french topic mixed with englsih one.


RAD Studio
+ RAD Studio (Win32)
Developing COM-based Applications
Component Writer's Guide
Writting Internet Applications
and so on..

When expanding Englsih topics, subtopics are in french.
QC Entry 46263

Area

Documentation\Online Help

Description:

[short description]
SysUtils.DirectoryExists incorrect description

[full description]
he help topic for the SysUtils.DirectoryExists function references to a certain Name parameter, which does not make sense. This happens two times in the description.

ms-help://borland.bds5/bds5win32api_win32/html/DelphiWin32_SysUtilsDirectoryExistsRoutine.htm

Area

Documentation\Online Help

Description:

[QC Short Description]
Delphi 32 (Common) contains too many items in it (around 1000).

[QC Description]
In other words just about 5 nodes under Delphi 32 (Common) have subnodes.
All other items doesn't have subnodes. For example in node Delphi 32 for
Win32 all nodes has subnodes and many of these subnodes has subnodes as
well. it is really hard to find something
QC Entry 42011

Area

Documentation\Online Help

Description:

[QC Short Description]
A disused thing is included in explanation of TCommonCalender.BoldDays

[QC Description]
[ms-help://borland.bds5/delphivclwin32/ComCtrls_TCommonCalendar_BoldDays.html]

BoldDay method does not have Days_Size Parameter.
Please see attached image.
QC Entry 48557

Area

Documentation\Online Help\Component writers guide

Description:

[QC Short Description]
Help for .dcr refers to image editor

[QC Description]
The help topic "Creating a Bitmap for a Component" describes using ImageEditor to create .dcr -- but ImageEditor is no longer shipped.
QC Entry 49488

Area

Documentation\Online Help\VCL

Description:

[short description]
TCustomIniFile Class doesn't have link to TRegistryIniFile.


[full description]
The online help for TCustomIniFile Class doesn't have link to TRegistryIniFile. Although TRegistryIniFile is mentioned, the user should be able to click on it and go to the help for TRegistryIniFile.

There is also a typo in the following sentence "Do not create instances of TCustomIniFile. Instead, use or create descendants of TCustomIniFile, such as TIniFile , TRegistryIniFile, and TMemIniFile ." The typo is that there should not be a space before the final period.

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
TDateTimePicker.Format Help does not list available format characters.

[QC Description]
The online help for the above component property does not list the possible characters that can be used in format strings, and their meanings.

This is particularly important because these format strings are NOT compatible with the "usual" date/time formats used by the rest of the RTL. See report 37991 for an example of the errors this introduces.


QC Entry 39570

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
TStringList members documentation unuseable

[QC Description]
The documentation for nearly all members of the TStringList class is unuseable since it always contains the same sentence stating that this is a member of the TStringList class but not saying what the purpose of this member is.
QC Entry 48528

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
"Runtime" and "Design time" are swapped in explanation of TPageControl.Pages property in the German help file.

[QC Description]
In the help for TPageControl.Pages, the explanation of how to add a TTabSheet element to a TPageControl has the phrases "at runtime" and "at design time" intermixed. The explanation given for "at runtime" is actually the one for "at design time", and vice versa. This applies to the Delphi VCL for Win32, C++Builde for Win32, and Delphi .NET VCL help topics.
QC Entry 32913


English Text for Reference:
Pages is a read-only property. To add a tab sheet to a page control at design time, right click and select New Page. To add a tab sheet to a page control at runtime, create the tab sheet and set its PageControl property to the page control.

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
TListView.GetTopItem documentation incorrect.

[QC Description]
The topic for TListView.GetTopItem states:

"You can also scroll the view by setting TopItem."

However, the TopItem property is read-only.

One way to scroll the list would be to call the TTreeNode.MakeVisible method of one of the nodes in the list.
QC Entry 39511

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
TPenStyle not fully documented.

[QC Description]
The documentation for TPenStyle is incomplete. The description does not explain what psUserStyle and psAlternate mean.
QC Entry 34653

Area

Documentation\Online Help\VCL

Description:

[QC Short Description]
Missing help for TShellresources

[QC Description]
Help does not contain the TShellresources
QC Entry 48558

Area

Documentation\Online Help\Main help

Description:

[QC Short Description]
Typos/errors in Help for TSysLocale, TSystemTime, TSysCharSet

[QC Description]
There are some typos and errors in the Help for TSysLocale, TSystemTime, TSysCharSet. See Steps.
QC Entry 34966

Area

Documentation\Online Help\Main help

Description:

[short description]
Several grammatical errors in German help describing Code Insight

[full description]
The help for the Tools/Options dialog, Code Insight page, has several bad grammatical glitches/typos, especially with features describing new BDS 2006 features. These are:

1. Programmierhilfe: Klammern autom.


F gt automatisch Klammen in Funktionsaufrufe ein, wenn Sie die Code-Vervollst ndigung zulassen.

"Klammen" should be "Klammern". Typo.

2. Quelltext-Template-Vervollst ndigung


F gt ein Code-Template automatically ein, wenn Sie ein Token eingeben, das mit einem Template beginng und TAB dr cken.

Bad wording, sentence incomplete, and the word "automatically" is not translated. Suggested text:
"Quelltext-Template-Vervollst ndigung


F gt automatisch ein Code-Template ein, wenn Sie einen Bezeichner eingeben, der dem Namen eines Templates entspricht, und TAB dr cken."

3. Templates auto-vervollst ndigen


Ruft die Quelltext-Template-Vervollst ndigung auf, wenn Sie nach der Eingabe einer vorhandenen Quelltext-Template die Leertaste dr cken. Wenn Sie diese
Option nicht aktiv ist, m ssen Sie TAB dr cken, um die Template-Vervollst ndigung aufzurufen, nachdem Sie den Template-Namen eingegeben haben.

several minor grammatical errors, should read:

"Templates auto-vervollst ndigen


Ruft die Quelltext-Template-Vervollst ndigung auf, wenn Sie nach der Eingabe des Namens eines vorhandenen Quelltext-Templates die Leertaste dr cken. Wenn diese
Option nicht aktiv ist, m ssen Sie TAB dr cken, um die Template-Vervollst ndigung aufzurufen, nachdem Sie den Template-Namen eingegeben haben."

4. Template-Hinweise


Aktiviert die Template-Hinweise. Template-Hinweise erscheinen, wenn Sie ein Template in den Quelltext-Editor eingf gt und zwischen den vordefinierten Cursorpositionen
im Template mit der Taste Tab bl ttern.

Again several grammatical glitches. Should read:

"Template-Hinweise


Aktiviert die Template-Hinweise. Template-Hinweise erscheinen, wenn Sie ein

Area

Documentation\Online Help\Main help

Description:

[short description]
WriteDouble not documented


[full description]
procedure TWriter.WriteDouble(const Value: Double); is not being documented

Area

Documentation\Online Help\Main help

Description:

[QC Short Description]
Editing resource files in the Translation Manager

[QC Description]
In Delphi 2007 help:


Delphi 2007 for Win32 -> Delphi 2007 (Common) -> Procedures -> Compiling and building Projects -> Editing Resource Files in the Translation Manager


It looks like the just have a help file template containing writing style tips, nothing to do with editing resource files.


QC Entry 44716

Area

Documentation\Online Help\Main help

Description:

[QC Short Description]
Document all the keyboard shortcuts

[QC Description]
The documentation for IDE keyboard shortcuts (ms-help://borland.bds4/bds4ref/html/KeyMappingsDefault.htm), in the Delphi 2006 help at least, is woefully incomplete.

Here's a list of some of the keystrokes that are not documented. (Obviously, I don't know if this is all of them.) Some I know about from my own experience, others I read about on http://dn.codegear.com/article/33805 or http://www.stevetrefethen.com/wiki/Keybinding%20Information.ashx. This list does not include any keystrokes that are shown on the menus, since they're not quite as big of a problem -- they're still discoverable even when they're not documented.

Alt+F7 (go to previous error / message in message view)
Alt+F8 (go to next error / message in message view)
Alt+Left (go back after Alt+Up or Ctrl+click)
Alt+Right (go forward after Alt+Left)
Alt+Up (go to declaration)
Ctrl+Alt+F12 (drop down the list of open files)
Ctrl+Click (go to declaration)
Ctrl+K T (select word)
Ctrl+O L (turn on line blocking mode)
Ctrl+Q # (go to bookmark) (Ctrl+# is documented)
Ctrl+Shift+# (set bookmark) (Ctrl+K # is documented)
Ctrl+Shift+B (buffer list)
Ctrl+Shift+Down (jump between declaration and implementation)
Ctrl+Shift+Enter (find usages)
Ctrl+Shift+J (SyncEdit)
Ctrl+Shift+T (create Todo entry)
Ctrl+Shift+Up (jump between declaration and implementation)
Ctrl+Shift+W (find unit -- documented in DN article, but doesn't appear to work)
QC Entry 44790

Area

Documentation\OpenHelp

Description:

[QC Short Description]
Wrong example in the Help.

[QC Description]
This is in the "Hiding and showing navigator buttons at runtime" example:

DBNavigatorAll->VisibleButtons = TButtonSet() << nbFirst << nbPrior << nbNext << nbLast;
QC Entry 42750

5/3/07: Uncommented description of C++ example to give better idea of what it is doing. Changed code sample to be more correct.
--Gary Staas

Area

Documentation\IDE Help Contexts

Description:

[QC Short Description]
Transactional Data Module Wizard missing

[QC Description]
Help about TMtsDataModule mentions a wizards that is not in the product.

ms-help://borland.bds5/bds5win32api_win32/html/DelphiWin32_MtsRdmTMtsDataModuleClass.htm

One solution to this problem could be to bring the wizard back. See QC 12993.
QC Entry 39632

Area

Documentation\IDE Help Contexts

Description:

[QC Short Description]
MTS Automation wizard is missing

[QC Description]
Help about TMtsAutoObject mentions a wizard that is not in the product.

ms-help://borland.bds5/bds5win32api_win32/html/DelphiWin32_MtsobjTMtsAutoObjectClass.htm

One solution to this problem could be to bring the wizard back. See QC 12993.
QC Entry 39633

Area

Documentation\IDE Help Contexts

Description:

[QC Short Description]
Suggested "See also" for Round

[QC Description]
I suggest the Round routine should have RoundTo included in its See Also list.

QC Entry 31251

Area

IDE

Description:

[QC Short Description]
Display problems in Tools -> Options dialog (german version)

[QC Description]
There are some display problems in the german version for the Tools -> Options dialog:

Tool-Palette:
The captions for
"Schaltfl chengr e"
"Kategorien automatisch ausblenden"
"Neuandordnung der Palette sperren"
"Designer-Elemente immer anzeigen"
are cut.

Farben:
most of the labels are not aligned correctly.

Quelloptionen:
The labels for "Einr ckung" and "Tabstops" are not aligned correctly.

Code-Insight:
The label for "Typ der Quelltextdatei" is cut.

Codegear-Debugger:
The labels
"Seiteneffekte in neuen Ausdr cken"
"Nicht-Benutzer-Haltepunkte ignorieren"
"Inspektor immer im Vordergrund"
are cut
QC Entry 41733

Area

IDE

Description:

[QC Short Description]
File browser: "Borland Developer Studio" instead of "CodeGear RAD Studio" in popup menu in german version

[QC Description]
In the popup menu of the file browser the caption of the item on top is "Mit Borland Developer Studio oeffnen" instead of "Mit CodeGear RAD Studio oeffnen" in the german version. In the english version the caption is "Open with CodeGear RAD Studio".

I've attached an image of the german version and an image of the english version.
QC Entry 49065

Area

IDE

Description:

[QC Short Description]
File browser\Filter dialog: Bad translation of "delimited" in german version

[QC Description]
In the filter dialog of the file browser the translation of "Enter semi-colon delimited file mask(s):" with "Durch Semikolon begrenzte Dateimaske(n) eingeben:" in the german version is not that good. Instead of "begrenzte" rather "getrennte" should be used to translate "delimited". That means the translation should be "Durch Semikolon getrennte Dateimaske(n) eingeben:"

I've added an image.
QC Entry 49039

Area

IDE

Description:

[QC Short Description]
Wrong (empty) icons for "Testprojekt" and "Testfall" in german version

[QC Description]
The icons for "Testprojekt" and "Testfall" (in english "Test Project" and "Test Case") in the tool palette and the object gallery are wrong. They are sometimes empty and sometimes it is the package icon.
(images of this issue are in the .PDF in the attachment)

Additional information:
- ESD version downloaded on 2007/03/21
- Professional Edition
QC Entry 44585

Area

IDE

Description:

[QC Short Description]
About box: Wrong name for the JEDI Code Library in the Quality Insite(tm) product information in the german version

[QC Description]
In the german about box the name of the JEDI Code Library in the Quality Insite(tm) product information is wrong - it is "JEDI Component Library" instead of "JEDI Code Library". In the english version it is "JEDI Code Library".

I've attached an image of the german version and an image of the english version.
QC Entry 49072

Area

IDE\Project Management\Project Manager

Description:

[QC Short Description]
Multiselect in project manager does not work anymore in the german version

[QC Description]
The multiselect feature in the project manager does not work anymore in the german version - IIRC it worked in D2007 RTM. If I remove the german localization files (*.de) then it works as expected.
QC Entry 49026

Area

IDE\Tool Palette

Description:

[QC Short Description]
CTRL+ALT+P does not work under IDE classic speedsetting

[QC Description]
CTRL+ALT+P shortcut does not focus tool palette under IDE classic speedsetting. There does not appear to be an alternative shortcut under classic speedsetting either.
QC Entry 23740

Area

IDE\Form Designer

Description:

[QC Short Description]
Main menu rendered incorrectly

[QC Description]
The form designer seems to have some painting issues with the TMainMenu component.

Both the position and size of the actually painted area seems to be dependent on the form BorderStyle, but none of the cases paints the area covered by the menu correctly.
bsToolWindow and bsSizeToolWin are the most obvious - See screenshot (the red color is just to illustrate the problem).

OS is XPSP2.
QC Entry 46200

Area

IDE\Form Designer

Description:

[QC Short Description]
Deleting a toolbutton design-time causes AV

[QC Description]
Deleting a toolbutton design-time causes an access violation in ntdll.dll.

This is likely related to QC 42333 and might be related to QC 46470, although the second report deals with run-time AVs.
QC Entry 46471


stack trace in attachments.

Area

IDE\Form Designer

Description:

[QC Short Description]
Minimising D2007 whilst in undocked mode leaves forms visible

[QC Description]
Running on Vista Ultimate with the IDE in undocked mode and the vcl designer NOT embedded. Installed on a machine with BDS2006 already present and functioning correctly.

When minimising D2007 everything 'disappears' to the task bar with the exception of any open forms which remain on screen.

On about a 50/50 spilit, D2007 will restore correctly or restore without the Object inspection/Project manager/Tool Palette etc. If it fails to restore these windows a restart of the IDE is required.
QC Entry 41681

Area

IDE\Form Designer

Description:

[QC Short Description]
Selection error with non-visual component in a frame

[QC Description]
When designing a form which contains a frame which in turn contains a non-visual component, selecting that non-visual component in the Structure Panel or using the dropdown list of Object Inspector, the selection handles are drawn at the wrong place.
QC Entry 37106

Area

IDE\Object Inspector

Description:

[QC Short Description]
Category name for "Drag Drop/Docking" is "Drag&&Drop" in german version

[QC Description]
The category for the properties

DockSite
DragKind
DragMode

and so on is "Drag&&Drop" for Delphi for Win32 & C++Builder projects in build 2748 in the german version.
It is "Drag Drop/Docking" for Delphi for Win32 & C++Builder projects in build 2748 in the english version.

In D2007 Update 1 it is "Drag Drop/Docking" in the english version and "Drag-Drop/Docking" in german version.
For Delphi for .NET projects this is "Drag, Drop and Docking" (english version) and "Drag, Drop und Docking" (german version).
QC Entry 49509

Area

IDE\Menu Designer

Description:

[QC Short Description]
Form Height increases when Menu Designer opened

[QC Description]
Every time D2007 is started and an existing TMainMenu's menu designer is opened, the height of the form is increased by 19 pixels.

Using Classic Undocked IDE.
QC Entry 49475

Area

IDE\Toolbars/Status Line

Description:

[QC Short Description]
Wrong entry in the toolbar customize dialog (german version)

[QC Description]
In the customize dialog for the toolbar there are two entries "Project" and "Projekt".
It seems there is one entry which was not translated correctly.
QC Entry 41730

Area

IDE\Repository

Description:

[QC Short Description]
Add template library: Wrong filename filter in german version

[QC Description]
In the filename dialog that is used to add a new template library the file type fileter ist set to "XML Dateien (*.xml)" in the german version.

Hoever since a few versions the template library files are using the extension "*.bdstemplatelib" so thy are not visible in that file dialog until it is switched to "*.*"
QC Entry 51063

Area

IDE\Code Completion

Description:

[QC Short Description]
Underscore clears CodeInsight list

[QC Description]
When typing "FILE" and pressing Ctrl+Space the available symbols that start with "FILE" are shown. When now typing an underscore the list becomes empty. Typing further "FILE_AT" the list is still empty but when I now use the backspace key the list is filled with all the FILE_ATTRIBUTE_* constants.
QC Entry 35158

Area

IDE\Startup/Shutdown

Description:

[QC Short Description]
"Too much" installed products and plugins does destroy the CodeGear logo on the splash screen

[QC Description]
If you have more than 5 products + plugins installed which use IOTASplashScreenServices.Add*Bitmap than the CodeGear logo on the splash will be destroyed when the 6. or more product / plugin is loaded.

I've attached an image which shows the Highlander splashscreen with JVCS, JCL and JVCL installed.
QC Entry 49253

Area

IDE\Startup/Shutdown

Description:

[QC Short Description]
Error on shutdown in Vista 64 bit

[QC Description]
When RAD Studio is shut down in Vista 32 and 64 bit, an error window opens warning that it did not shut down properly.

This occurs whether or not a project is open.

Full install, Vista 64 with all known updates. Athlon 1.8GHz, 3GB RAM.
QC Entry 49182

Area

IDE\Startup/Shutdown

Description:

[QC Short Description]
access violation on every shutdown of IDE in VIsta (x64)

QC Entry 50112

Area

IDE\Startup/Shutdown

Description:

[QC Short Description]
Shutdown causes AVs

[QC Description]
I have just reported #50393.

And when I shutdown the IDE after reproducing #50393, I get several AVs.
QC Entry 50394

Area

IDE\Class Completion

Description:

[QC Short Description]
AV invoking class completion after closing an unsaved unit

[QC Description]
If you've created a unit or test unit and then closed it without saving, class completion causes an AV. (Stack trace attached)
QC Entry 46928

Area

IDE\Packages

Description:

[QC Short Description]
Res filename in DPK source corrupted

[QC Description]
The name of a res file in a DPK source is corrupted when not surrounded by single quotes.

In the attached example the line

{$R SomeResourceFile.res}

will become

{$R 'omeResourceFil'}

when opened by D2007.

// Francois Piette
I can reproduce with 2608
QC Entry 40872

// Francois Piette
Probably same case as report 238305

// Francois Piette
Problem still in 2671 (btw: Delphi 7 doesn't have this problem).
Still in 2701.
Still in 2726

Area

IDE\Packages\Installing Components

Description:

[QC Short Description]
Published Class property leads to AV

[QC Description]
Adding a Class property to the published section of a component leads to an AV when the component is used. Although I think it makes no sense to do this, presumably either the compiler or the Typinfo library should be able to cope with this error.
QC Entry 30037


(JJS: This may wind up being a compiler/rtl issue but it manifests through component installation in the IDE)

Stack Trace in comments.

Area

IDE\Packages\Package Manager

Description:

[QC Short Description]
AV Recompiling installed packages

[QC Description]
Attached is a sample project group showing the problem. Follow the steps to get the following AV:


Access violation at address 2003178E in module 'rtl100.bpl'. Read of address 00000008.
QC Entry 50595

Area

IDE\Help

Description:

[Short Description]
Topic 'TStringList.IndexOf Methode'

[Description]
In the German version of the Online Help in the topic 'TStringList.IndexOf Methode' there is an error:

"Wenn S der zweite String in der Liste ist, wird -1 zur ckgegeben"

It should be instead: "Wenn S der zweite String in der Liste ist, wird 1 zur ckgegeben"

Area

IDE\Build Tools

Description:

[QC Short Description]
msbuild shows no errors/warnings/hints of dcc32

[QC Description]
Hello,
there are diffenence between build in IDE and build on comandline.
If I build an program in the IDE, prebuild events are triggert, the project
compiles and post events are triggert.
If dcc32 reports an error/warning/hint, this messages are shown in the IDE.

If you compile a project with msbuild from commandline no
erroes/warnings/hints were printed.

btw: I use the german version (Delphi 2007 for Win32 with Update 1)

Example:
> B:\tools\Borland\BuildServerTest\Source>msbuild
> Microsoft (R)-Buildmodul, Version 2.0.50727.42
> [Microsoft .NET Framework, Version 2.0.50727.42]
> Copyright (C) Microsoft Corporation 2005. Alle Rechte vorbehalten.
>
> Der Buildvorgang wurde um 11.07.2007 11:28:58 gestartet.
> __________________________________________________
> Projekt B:\tools\Borland\BuildServerTest\Source\BuildServerTest.dproj
> (Standardziele):
>
> CoreCompile-Ziel:
> C:\Programme\CodeGear\RAD
> Studio\5.0\bin\dcc32.exe -B -DDEBUG -I;B:\shared\Delphi... --no-config
> BuildServerTest.dpr
>
> Der Buildvorgang war erfolgreich.
> 0 Warnung(en)
> 0 Fehler
>
> Vergangene Zeit 00:00:24.11
>

If no error comes up all is OK !!!

But if there is an error:

> B:\tools\Borland\BuildServerTest\Source>msbuild
> Microsoft (R)-Buildmodul, Version 2.0.50727.42
> [Microsoft .NET Framework, Version 2.0.50727.42]
> Copyright (C) Microsoft Corporation 2005. Alle Rechte vorbehalten.
>
> Der Buildvorgang wurde um 11.07.2007 11:33:25 gestartet.
> __________________________________________________
> Projekt B:\tools\Borland\BuildServerTest\Source\BuildServerTest.dproj
> (Standardziele):
>
> CoreCompile-Ziel:
> C:\Programme\CodeGear\RAD
> Studio\5.0\bin\dcc32.exe -B -DDEBUG -I;B:\shared\Delphi... --no-config
> BuildServerTest.dpr
>
> C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(103,3):
> error MSB6006: "dcc" wurde mit Code 1 beendet.
> Erstellen des CoreCompile-Ziels in Projekt BuildServerTest.dproj beendet -
> Fehler beim Erstellen.
>
> Erstellen des Projekts BuildServerTest.dproj beendet - Fehler beim
> Erstellen.
>
> Fehler beim Buildvorgang.
> C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(103,3):
> error MSB6006: "dcc" wurde mit Code 1 beendet.
> 0 Warnung(en)
> 1 Fehler
>
> Vergangene Zeit 00:00:10.92
>

msbuild gives only the information: (translated to english)
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(103,3):
error MSB6006: "dcc" ended whith Code 1
Creating of core compile target in project BuildServerTest.dproj ended -
Error on create.

But what is the error?
The IDE prints all information.

If you execute dcc32 direct from comandline (without msbuild) there is the
error message:

> B:\tools\Borland\BuildServerTest\Source>"C:\Programme\CodeGear\RAD
> Studio\5.0\bin\dcc32.exe" -B -DDEBUG -I;B:\shared\Delphi... --no-config
> BuildServerTest.dpr
> CodeGear Delphi f r Win32 Compiler-Version 18.5
> Copyright (c) 1983,2007 CodeGear
> u_main.pas(79) Fehler: E2003 Undefinierter Bezeichner: 'ok'
> u_main.pas(79) Fehler: E2003 Undefinierter Bezeichner: 'doof'
> u_main.pas(79) Warnung: W1023 Vorzeichenbehaftete und -lose Typen werden
> verglichen - beide Operanden werden erweitert
> u_main.pas(83)
> BuildServerTest.dpr(5) Schwerwiegend: F2063 Verwendete Unit 'u_main.pas'
> kann nicht compiliert werden
>

where is the real Error in line 79 of u_main.pas :-)

> // Syntaxfehler beim Compilieren
> ok := (VisualStudio = doof);

Variables "ok", "VisualStudio" and "doof" are not declared.

I used SysInternals ProcessMon to look what Delphi is doing.

The Delphi IDE does not call msbuild.exe / dcc32.exe
The msbuild output in the IDE is created by Delphi IDE.

I hope you can fix it.

msbuild support without errormessages if something goes wrong is useless.

kind regards
Mark Burgard
QC Entry 48948

Area

IDE\Structure Pane\Error Insight

Description:

[QC Short Description]
Structure pane gets confused with class fields of type procedure

[QC Description]
The structure pane displays wrong information for a class with a field of type procedure.
QC Entry 40765

Area

Install

Description:

[QC Short Description]
IDE is not able to load some package on start up on first run.

[QC Description]
When I was installting Delphi 2007 I unselected all database stuff. After I run Delphi 2007 I see this message:
---------------------------
bds.exe - Unable To Locate Component
---------------------------
This application has failed to start because dcldbx100.bpl was not found. Re-installing the application may fix this problem.
---------------------------
OK
---------------------------
but that file exists
the same bug exists for 11.0.2593.4239
QC Entry 39984

Area

Install

Description:

[QC Short Description]
Installation reports error on BDE_PRO

[QC Description]
This is not a new occurrence, but during installation, the unpacking of files is halted with a report that the installer can't find the BDE_PRO file. Checking the path given, the file indeed is missing.
QC Entry 49183

Area

Install

Description:

[QC Short Description]
Compiling win32 packages fail on Vista 64 non-admin

[QC Description]
On a Vista 64 machine on a non-admin account, Open highlander with all personalities. Follow the attached steps to receive this error:

---------------------------
Error
---------------------------
The imported project "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
---------------------------
OK Details >>
---------------------------
[21E58659]{dotnetcoreide100.bpl} InteropApp.TMSBuildOpenProject.Build (Line 1287, "InteropApp.pas" + 1) + $35
[2000A455]{rtl100.bpl } System.@CheckAutoResult (Line 18047, "sys\system.pas" + 6) + $0
[21E58659]{dotnetcoreide100.bpl} InteropApp.TMSBuildOpenProject.Build (Line 1287, "InteropApp.pas" + 1) + $35
[2164CAF7]{delphicoreide100.bpl} BasePasComIntf.TCompiler.MSBuildCompile (Line 957, "BasePasComIntf.pas" + 16) + $40
[2098C254]{coreide100.bpl} ComPrgrs.TProgressForm.StartCompile (Line 76, "ComPrgrs.pas" + 5) + $C
[2098C90E]{coreide100.bpl} ComPrgrs.TProgressForm.HandleCompileMessage (Line 193, "ComPrgrs.pas" + 0) + $2
[2013C497]{vcl100.bpl } Controls.TControl.WndProc (Line 5146, "Controls.pas" + 83) + $6
[20140617]{vcl100.bpl } Controls.TWinControl.WndProc (Line 7304, "Controls.pas" + 111) + $6
[20159DD7]{vcl100.bpl } Forms.TCustomForm.WndProc (Line 3512, "Forms.pas" + 136) + $5
[2013FD40]{vcl100.bpl } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3) + $6
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[201375B2]{vcl100.bpl } Controls.FindControl (Line 2104, "Controls.pas" + 6) + $9
[20162548]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[20162582]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[2015E5EB]{vcl100.bpl } Forms.TCustomForm.ShowModal (Line 5822, "Forms.pas" + 29) + $5
[2164C076]{delphicoreide100.bpl} BasePasComIntf.TCompiler.DoCompile (Line 748, "BasePasComIntf.pas" + 41) + $9
[2164C77B]{delphicoreide100.bpl} BasePasComIntf.TCompiler.Compile (Line 875, "BasePasComIntf.pas" + 31) + $7
[216EC53C]{delphicoreide100.bpl} PasNativeCompilerAdapter.TCompilerAdapter.Compile (Line 202, "PasNativeCompilerAdapter.pas" + 12) + $1F
[216EC745]{delphicoreide100.bpl} PasNativeCompilerAdapter.TCompilerAdapter.CompilePackage (Line 249, "PasNativeCompilerAdapter.pas" + 12) + $17
[21663100]{delphicoreide100.bpl} PackageState.CreatePackage (Line 285, "PackageState.pas" + 20) + $19
[2166317C]{delphicoreide100.bpl} PackageState.CreatePackage (Line 296, "PackageState.pas" + 31) + $5
[216631F1]{delphicoreide100.bpl} PackageState.CreatePackage (Line 309, "PackageState.pas" + 44) + $9
[21663B66]{delphicoreide100.bpl} PackageState.TPackageState.Build (Line 480, "PackageState.pas" + 8) + $28
[216A245C]{delphicoreide100.bpl} PasMgr.TPascalPackageCodeUpdater.DoCompile (Line 10910, "PasMgr.pas" + 4) + $11
[216A248B]{delphicoreide100.bpl} PasMgr.TPascalPackageCodeUpdater.DoCompile (Line 10915, "PasMgr.pas" + 9) + $F
[216F0B20]{delphicoreide100.bpl} CommonPasReg.CompileProject (Line 1115, "CommonPasReg.pas" + 16) + $3C
[216A04E3]{delphicoreide100.bpl} PasMgr.TPascalProjectUpdater.CompileProject (Line 10169, "PasMgr.pas" + 2) + $19
[216A23D2]{delphicoreide100.bpl} PasMgr.TPascalPackageCodeUpdater.Build (Line 10901, "PasMgr.pas" + 3) + $11
[216A2852]{delphicoreide100.bpl} PasMgr.TPascalPackageCodeUpdater.CompileProject (Line 11021, "PasMgr.pas" + 15) + $F
[209CD01D]{coreide100.bpl} ProjectGroup.TProjectGroup.CompileContainer (Line 770, "ProjectGroup.pas" + 54) + $14
[209CCA10]{coreide100.bpl} ProjectGroup.TProjectGroup.CompileActive (Line 623, "ProjectGroup.pas" + 1) + $B
[209D374D]{coreide100.bpl} ProjectGroup.TProjectGroupWrapper.CompileActive (Line 2516, "ProjectGroup.pas" + 0) + $5
[209EF2A1]{coreide100.bpl} Containers.TStdProjectContainer.BuildProject (Line 2167, "Containers.pas" + 6) + $D
[209EF2BD]{coreide100.bpl} Containers.TStdProjectContainer.BuildProject (Line 2169, "Containers.pas" + 8) + $9
[209EEC37]{coreide100.bpl} Containers.TStdProjectContainer.CommandHandler (Line 2010, "Containers.pas" + 16) + $7
[21669AAD]{delphicoreide100.bpl} PkgContainers.TStdPackageProjectContainer.CommandHandler (Line 178, "PkgContainers.pas" + 32) + $2
[209F1FA1]{coreide100.bpl} Containers.TStdContainer.CommandHandler (Line 3069, "Containers.pas" + 1) + $17
[20130557]{vcl100.bpl } Menus.TMenuItem.Click (Line 2282, "Menus.pas" + 14) + $8
[20131A7F]{vcl100.bpl } Menus.TMenu.DispatchCommand (Line 3007, "Menus.pas" + 5) + $2
[20132BDE]{vcl100.bpl } Menus.TPopupList.WndProc (Line 3797, "Menus.pas" + 4) + $E
[20031FC4]{rtl100.bpl } Classes.TThreadList.UnlockList (Line 3359, "common\Classes.pas" + 0) + $4
[200EBAA8]{vcl100.bpl } Graphics.FreeMemoryContexts (Line 5060, "Graphics.pas" + 12) + $5
[2013FD40]{vcl100.bpl } Controls.TWinControl.MainWndProc (Line 7073, "Controls.pas" + 3) + $6
[20132B2D]{vcl100.bpl } Menus.TPopupList.MainWndProc (Line 3778, "Menus.pas" + 2) + $5
[20040DD4]{rtl100.bpl } Classes.StdWndProc (Line 11583, "common\Classes.pas" + 8) + $0
[20162548]{vcl100.bpl } Forms.TApplication.ProcessMessage (Line 8105, "Forms.pas" + 23) + $1
[20162582]{vcl100.bpl } Forms.TApplication.HandleMessage (Line 8124, "Forms.pas" + 1) + $4
[20162877]{vcl100.bpl } Forms.TApplication.Run (Line 8223, "Forms.pas" + 20) + $3
[00422976]{bds.exe } bds.bds (Line 195, "" + 7) + $7
QC Entry 50875

Area

Install\User Interface

Description:

[QC Short Description]
Typo in german installer ("Reperatur" instead of "Reparatur")

[QC Description]
On the page in the installer where you can select if the patch cache should be deleted is a typo in the german version. It is "Reperatur" instead of "Reparatur" in the caption of the checkbox as you can see on the attached image.
QC Entry 49248

Area

Install\User Interface

Description:

[QC Short Description]
No visual progress during installation of Help System

[QC Description]
During the installation of the Help System there were no visual feedback neither during the download nor during the actual installation. The first information visible was a message box saying something like "registering help".

People having a slow connection or otherwise slow system might abort the installation as it seems to hang.
QC Entry 50645

Area

Install\Uninstall

Description:

[QC Short Description]
Odd dialog sequence on uninstall

[QC Description]
When uninstalling RAD Studio, you get the attached dialog after selecting to uninstall. It doesn't make sense to select the products to install during the uninstall process.
QC Entry 50413

Area

Install\Registry settings

Description:

[QC Short Description]
Registry entry for "BorlandComponents" wrong

Common Files path is hard coded in the installer.

[QC Description]
The registry entry for
"..BDS\5.0\AssemblyFolders\BorlandComponents"
points to
"C:\Program Files\Common Files\CodeGear Shared\Rad Studio\Shared Assemblies\5.0\"
while the files are actually located at
"c:\Programme\Gemeinsame Dateien\CodeGear Shared\RAD Studio\Shared Assemblies\5.0\"
on my German Windows XP.
QC Entry 50170

Area

Install\Files

Description:

[QC Short Description]
Install starts if h2reg is missing

[QC Description]
The installer is not completely checking for .Net 2 SDK installation. Basically, if (like I did) one does not install the documentation from the SDK, the h2reg utility is not present.
But the installer does not check for this, then goes on to downloading everything, installing many files and then stops complaining it cannot find h2reg when installing the help files.
I think it should check for the presence of h2reg at the beginning instead of letting go.
QC Entry 48969

Area

Install\Files

Description:

[QC Short Description]
Release mode System.pas is compiled with debug symbols

[QC Description]
When I use F7 to step through my programs I always land in the system.pas even if I haven't checked the "Use debug DCUs" checkbox in the project options. All other "release" units are compiled correctly except System.pas. And stepping through all the string and object creation/destruction-functions isn't that nice if you


This only applies to the German localization. The English version of System.pas has no problem. But the German installer installs the same file into lib\ and lib\debug\
QC Entry 43269

Area

Install\Files

Description:

[QC Short Description]
Installer doesn't install latest version at first

QC Entry 49169

Area

Install\Sanctuary/Registration Server

Description:

[QC Short Description]
The name of "RAD Studio" is BDS 2007 in the registration wizard

[QC Description]
The name of "RAD Studio" is BDS 2007 in the registration wizard.

I've attached an image.
QC Entry 50922

Area

Database\TField\TNumericField\TBCDField

Description:

[QC Short Description]
Exception when formatting BCD numbers

[QC Description]
There is an obvious bug in the function BcdFixedOrNumberFormat (Unit FMTBcd):

function BcdFixedOrNumberFormat(const Start: string; Format: TFloatFormat; const Precision, Digits: Integer): string;
...
begin
...
if Start[1] = '-' then
begin
Inc(BufPos); // current char is ok
Inc(P);
if AddCommaDigits > 0 then
Dec(AddCommaDigits);
end;
...

If an empty string is passed as parameter "Start", the expression "Start[1]" causes an access violation.

QC Entry 50615

Area

Database\Database Tools\SQL Builder

Description:

[QC Short Description]
SQL Query builder is broken

[QC Description]
Start H2
Create a new win32 vcl application
Put a TQuery on the form
Right click the TQuery and select query builder

Exp : the query builder form should display
Act : an exception is raised
Workarround : none

Additional notes : I'm getting an runtime 217 when closing the IDE


Exception raised at $76FDB09E. Exception class EOleSysError with message 'Class not registered'. Process bds.exe (2836)


:76fdb09e kernel32.RaiseException + 0x58
:1edfb101 ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1ee12941 ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1ee10ea1 ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1eda6913 ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1eda663b ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1edacb58 ; C:\Program Files\CodeGear\RAD Studio\5.0\bin\SQLB.DLL
:1ee1072e SQLB.launchModal + 0xc2
:22789f75 BuildQuery + $85
:2278cd78 TQueryEditor.ExecuteVerb + $98
:060b9051 TVclDesignSurface.ComponentVerb + $51
:20130539 TMenuItem.Click + $AD
:20132b0c TPopupList.MainWndProc + $20
:20040dd6 StdWndProc + $16
:767f1a10 USER32.GetMessageW + 0x6e
:767f1ae8 ; C:\Windows\system32\USER32.dll
:767f2a47 ; C:\Windows\system32\USER32.dll
:767e3c8a USER32.DispatchMessageA + 0xf
QC