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

RAD Studio 2007 December Update List of Core Bug Fixes

By: Chris Pattinson

Abstract: 284 core bug fixes (84 from Quality Central) sorted by area addressed in the December 2007 Update

Below is a list sorted by product area for all the fixes included in the RADStudio 2007 December Update. These fixes apply to Delphi 2007 and C++Builder 2007 where applicable.

A Delphi specific list of fixes can be found here:

A C++Builder specific list of fixes can be found here:

A Delphi.NET specific list of fixes can be found here:

Quality Central references numbers can be found on the left side of this document. This document has been sorted by product area. We hope you all enjoy this December update to the RAD Studio 2007 line of products, and enjoy a happy holiday season.

- CodeGear RADStudio Development Team

QC#

Project Area
C++Builder Demos
Description: Steps:
An AV occurs on run when you attempt to drop a component from the shell Controls onto a form. Deleting the component from the form results in an AV in the vcl100.bpl

<details in attachment>

WORKAROUND: Turn off build with Runtime packages. Deleting though still returns an AV in vcl100.bpl
+ Go to: C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\Demos\CPP\Apps\ShellControls
+ open the bcbshlctrls.bpk (it will be converted)
+ Project | Build
+ File | Close All (you can save if you want)
+ Open dclshlctrls.bpk( it will be converted)
+ Project | Build
+ Right click on the project in the PM
+ Select Install
//exp & act: successful install of the component into the tool palette

+ File | New | VCL Forms Application - C++ Builder
+ Drop TShellTreeView (or any of the shell controls found under the Samples section
+ Project | Build
+ Run | Run
//exp: Project runs with the components on the form
//act: Stops at CPU window and pressing run again results in AV:
Debugger Fault Notification
---------------------------
Project C:\Documents and Settings\testuser\My Documents\RAD Studio\Projects\test1\Debug\Project1.exe faulted with message: 'access violation at 0x00008ecf: access of address 0x00008ecf'. Process Stopped. Use Step or Run to continue.
---------------------------
OK
---------------------------

+ click OK
+ Reset the IDE
+ Go to the Form Designer
+ Delete the component
//exp: no error
//act:
---------------------------
Error
---------------------------
Access violation at address 2018B9A7 in module 'vcl100.bpl'. Read of address 00000008.
---------------------------
OK Details >>
---------------------------
<details attached in .txt file>

Workaround: Turn off build with Runtime Packages on the VCL Form application before dropping the component. Deleting the component still returns the AV though.

QC# Project Area
C++Builder Demos
Description: Steps:
Missing ShellControls source code that ships with Delphi. If you install RAD Studio or Delphi 2007, the following directory gets installed:

C:\Documents and Settings\All Users\Documents\RAD Studio\5.0\Demos\DelphiWin32\VCLWin32\ShellControls

If you just install C++ 2007, the ShellControl demo doesn't get installed.

See also: RAID 253367.
Customers upgrading from C++ Builder 6 who used the shell controls require the source to build and install the components into the IDE.

http://caseviewer.borland.com/CaseViewer/CaseDetails.jsp?caseNumber=672380

File List:

dclshlctrls.dcr
dclshlctrls.dpk
dclshlctrls.dproj
dclshlctrls.rc
dclshlctrls.res
RootEdit.dfm
RootEdit.pas
ShellConsts.hpp
ShellConsts.pas
ShellCtrls.hpp
ShellCtrls.pas
ShellReg.pas
vclshlctrls.dpk
vclshlctrls.dproj
vclshlctrls.res

UPDATE: These files should be placed in <DemoDirInstall Path>\CPP\Apps\ShellControls directory.

QC# Project Area
C++Builder Demos
Description: Steps:
Missing C++ specific Shell Control demo and package from the C++ personality delivery. Please add
bcbshlctrls.cbproj
dclshlctrls.cbproj

these should be checked in already but need to get into the build.

QC# Project Area
C++Builder Documentation
Description: Steps:
The index is missing entries in various cases. I'm not sure how widespread this is, but it might be quite common. I noticed it for new files I added in the Borland.Data.AdoDbxClientProvider namespace. In particular, the following entries are missing:

TAdoDbxCommandBuilder.Create
TAdoDbxConnection.DataSource
TAdoDbxDataAdapter.RowUpdated
TAdoDbxDataAdapter.RowUpdating
TAdoDbxDataAdapter.Create
TAdoDbxDataAdapter.HasRows
TAdoDbxParameter.SourceColumnNullMapping
1. Run help viewer.
2. Click Index tab at bottom right.
3. Enter "Borland.Data.AdoDbxClientProvider" in "Look for:" field to see entries for this namespace.

QC# Project Area
Delphi Documentation
Description: Steps:
Help Update

Running 'Rad Studio Documentation' stand alone I see 'No table of contents has been defined for current Help collection'
Run Update install
From Windows Start menu
CodeGear Rad| Rad Studio Documention

QC# Project Area
Delphi Documentation
Description: Steps:
[Function Issue]
Help button of "Add Source Breakpoint" window and the document screen do not support.

Please see attach.

[MSeki on 16/10/07 (After HelpUpdate/1013/)]
This issue has been resolved.
1. Watch "Add Breakpoint" of "Breakpoint List".pane.
2. Select "Source Breakpoint..." => "Add Source Breakpoint" window appears
3. Push "Help" Button
4. "Add Address Breakpoint or Add Data Breakpoint" is displayed in DocumentExplorer.

QC# Project Area
Delphi Documentation
Description: Steps:
Start IDE without click anything, press F1 got error.

---------------------------
Error
---------------------------
No help found for context.
---------------------------
OK Details >>
---------------------------
1. Start IDE
2. press F1

//exp: Help's default page
//act : error

---------------------------
Error
---------------------------
No help found for context.
---------------------------
OK Details >>
---------------------------

QC# Project Area
Delphi Documentation
Description: Steps:
//This are the remaining issues from 254976

Bad links in default.htm file.

There are other links that don't work
Backfish SQL documentation
http://dn.codegear.com/article/36770 is incorrect : page not found

Eco documentation
http://dn.codegear.com/article/36853/ is incorrect: page not found
Run BDS. In the default page, click on the Help button. Check the different options. Some links don't work.

QC# Project Area
Delphi Documentation
Description: Steps:
Help on Help returns

Unable to get navigation object [!DefaultDynamicLinkIndex]

URL:ms-help://borland.bds5/MS.NETFramework.v20.en/MS.Dexplore.v80.en/dv_dexplore/html/92b51076-8841-45a2-8e2b-
bmp attached
Run help
Help|help on Help

QC# Project Area
Delphi IDE
Description: Steps:
When F1 is pushed on TObject, it is necessary to display help.

[HelpUpdate]
1. Run "Delphi for Microsoft Win32" or "C++Builder".
2. Create New VCL Form Application.
3. Drop New TObject(ex.TButton)
4. Click TButton1.
->TButton1 is active.
5. Push F1.
->Help is not displayed.
QC# Project Area
Delphi IDE
Description: Steps:
Contains and Requires are not able to translate in the tree of Project Manager.

[mt - also in French D2005]
same in Japanese Update2 and German Update2.

Are "Contains" and "Requires" hard corded?
1. File /New/ Package - Delphi pour Win32
2. check Project Manager
// Contains and Requires are not translated in the tree.

    52642

QC# Project Area
52642 C++Builder IDE
Description: Steps:
[QC Short Description]
New Forms App does not autocreate main form if autocreate forms is turned off

[QC Description]
After installing patch 3 to CB2007, a new C++ forms app no longer includes the code to autocreate the main form if autocreate forms is turned off. App will run, but main form is not displayed.

The main .cpp file that is created looks like this:

//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("Unit1.cpp", Form1);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
SetApplicationMainFormOnTaskBar(Application, true);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
catch (...)
{
try
{
throw Exception("");
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
}
return 0;
}
//---------------------------------------------------------------------------

Note that there is no Application->CreateForm() call.
QC Entry 52642
Install Update 3 to CB2007 or install RAD Studio 2007 Tools | Options | Environment Options | VCL Designer | Module Creation Options | Auto create forms and data modules - uncheck this option OK File | New | VCL Forms app - C++ Run | Run Exp: Project will compile, run and display a blank main form Act: Project compiles, runs, and exits without ever showing the main form. Look at Project1.cpp file in editor Exp: File will create the main form with a line like this: Application->CreateForm(__classid(TForm1), &Form1); Act: Line to creat the main form is missing Tested in both CB 2007 + update 3 and RAD Studio 2007

    43860

QC# Project Area
43860 Delphi IDE
Description: Steps:
[QC Short Description]
Vista problems with XML Data Binding Wizard

[QC Description]
The Delphi 2007 XML Data binding wizard tries to write to the program files folder (C:\Program Files\CodeGear\RAD Studio\5.0\bin\xmldbwizard.ini.). In Vista this only works if the user has launched Delphi as admin..
QC Entry 43860
1. Start Delphi 2007 in Vista
1.5 New Delphi Win32 VCL App
2. From the File menu select New -> Other
3. In the new item dialog, select Delphi Projects -> XML -> XML Data Binding
4. Click OK
5. You get the following error dialog:

---------------------------
Error
---------------------------
Unable to write to C:\Program Files\CodeGear\RAD Studio\5.0\bin\xmldbwizard.ini.
---------------------------
OK Details >>
---------------------------

    43305

QC# Project Area
43305 Delphi IDE\Dialogs\Project Options
Description: Steps:
[QC Short Description]
Duplicate DEBUG/RELEASE defines

[QC Description]

After using the "Default" checkbox on "Project Options", whenever a new project is created it has a duplicate define DEBUG that stays even when switching to RELEASE options.
QC Entry 43305
1) New project 2) Project Options, Directories/Conditionals, Check the "Default" check box and click OK 3) Close all 4) New project 5) Project Options, Directories/Conditionals: duplicate DEBUG appears in "Debug" options; DEBUG;RELEASE show in "Release" options.

    44669

QC# Project Area
44669 Delphi IDE\Dialogs\Project Options
Description: Steps:
[QC Short Description]
Image base setting is not persisted

QC Entry 44669
---added - TG ----
1. After saving image base to another value, save project and close.
2. Open the dproj in a text editor to verify the ImageBase was added to the project
3. Reopen the project
4. In the Project Manager, right click Project1, and Save.
5. Re open the dproj in text editor, notice the ImageBase was removed.

----ORIGINAL---------------
Situation A:

1. Set an image base other than $0040000 in Project Options / Linker
2. Save and Close the project
3. Open the same project

Expected: Image base remains as set
Found: Image base has reverted to $0040000


Situation B:

1. Set an Image base other than $0040000 for Release Build in Project Options / Linker
2. Select Debug build
3. Select Release build

Expected: Release build Image base remains as set
Found: Release build Image base has reverted to $0040000


Situation C:

1. Set an image base other than $0040000 in Project Options / Linker
2. Save and Close the project
3. Verify that the correct image base is saved in the DPROJ file
4. Open the same project
5. Open the Project Options Dialog, then click OK
6. Build the Project

Expected: The built DLL should have the specified image base
Found: The built DLL has image base $0040000

QC# Project Area
C++Builder IDE\Project Management\Project Options
Description: Steps:
The -B switch (compile via assembly), when placed in "Other Options" is not passed to the compiler correctly -Open the attached project and build
//exp and act:
[BCC32 Error] AsmUnit.cpp(28): E2329 Invalid combination of opcode and operands
[BCC32 Error] AsmUnit.cpp(38): E2329 Invalid combination of opcode and operands
(these errors are due to limitations in BASM)
-Project | Options | C++ Compiler | Advanced Compilation | Other Options and add:
-B
-Build
//exp:
-B is passed to the compiler and there are no errors (TASM, not BASM is used)
//act:
It appears that .asm is generated in one step, then assembled in a separate call to TASM,
This results in many linker errors because tasm32.exe was not invoked with /ml

Also, adding #pragma inline to a file with inline asm has the same affect of
explicitly invoking tasm32.exe, e.g.
-Create a new VCL Application
-Double-click the form and add some inline assembly,e.g.
void __fastcall TForm1::FormCreate(TObject *Sender)
{
asm test eax,0
}
-Add #pragma inline at the top of the unit and build


QC# Project Area
Delphi IDE\Code Editor
Description: Steps:
Popup menu in code editor for an XML file contains non grayed items which do nothing.
"Refactoring" doesn't do anything, should be grayed.
"Rechercher" has an arrow, indicating there is a submenu, but there isn't.
"Compléter la classe sous le curseur" not grayed but doesn't do anything and so should be grayed.
See screen dump.
"Basculer le point d'arrêt" is a non-sense in this context. Should be grayed.
Same popup is shown for HTML, JavaScript, ...

QC# Project Area
C++Builder IDE\Code Editor
Description: Steps:
[Erreur fatale] F1009 Impossible d'ouvrir le fichier d'entrée ''

I get this error when I move the mouse cursor above code into the editor window when I have code giving the error "[BCC32 Erreur] Httpcontcod.hpp(88): E2347 Mauvaise correspondance de paramètre dans le spécificateur d'accès read de la propriété Coding" as reported in report 251066.

Attached: Screen dump and code causing that trouble.

// Francois Piette
Still in 2709.7128.2
1. unzip ics.zip in any folder. Be sure to restore directory structure.
2. open delphi\vc32\IcsBcb110.cbproj, compile and install
3. add delphi\vc32 to the path so that the components are found
4. open Cpp\Internet\Bcb2007\Bcb110Sam.groupproj
5. select and build HttpTst.exe project
=> You get the error reported in report 251066
6. In the code editor where the IDE has opened HttpContCod.hpp, let the mouse fly all over the code, you'll quickly get the error
=> [Erreur fatale] F1009 Impossible d'ouvrir le fichier d'entrée ''

    51136

QC# Project Area
51136 Delphi IDE\Code Editor\Error Insight
Description: Steps:
[QC Short Description]
REPRODUCABLE Error Insight Eats All Memory

[QC Description]
I finally found something reproducable that shows Error Insight consuming memory to the point that the IDE slows to a crawl (or worse). See steps..
QC Entry 51136


[ref. 244356, looks like similar issue.]
1) I bring up an out of the box (well, as downloaded) copy of the Delphi personality on a freshly booted machine. 2) Open a new VCL Forms Application. 3) Open the Windows Unit and the Classes Unit 4) Have Task Manager running so you can follow the Mem Usage of bds.exe. The CPU Time is interesting to watch as well. 5) When looking at the Windows Unit, you should see three Error Insight messages (QC51111). 6) Go down to the TYPE directive at line 109 and put a couple of // in front of it to comment it out. Wait patiently for about 7-10 seconds while the Error Insight list gets built in the Structure window. Get used to seeing how long this takes... 7) Switch to the Classes unit and comment out the TYPE directive on line 72 (it isn't the first TYPE) 8) You'll now see a few Error Insight messages from Classes. Leave classes with these errors. 9) Switch back to the Windows unit where the TYPE is commented out. 10) Position the cursor right after the two // you added. 11) Now comes the fun... While watching the list of Errors in the Structure box, backspace twice to delete the two // characters. As soon as big bunch of Error Insight error messages disappear (three will remain), type the two // characters again and wait for all of the Error Insight Messages to reappear (7-10 seconds). 12) Repeat step 11, alternating between having the errrors and not having the errors. Remember to delete the // as soon as the error messages finally appear and add the // back after the error messages quickly disappear. 13) Follow the Mem Usage while doing this -- things bog down when you get up to about 1.2 GIG of memory usage. (Don't forget to fix the source files when you are done) Choice of files isn't significant -- just something to generate lots of errors... Up-to-date XP 2 Gigs Memory 3.4 Gig Pentium D (so two processors)
QC# Project Area
Delphi IDE\Code Editor\Error Insight
Description: Steps:
Error Insight has shows an error for code involving calling convention directives.

(JJS: See related compiler issue 238688)

// Francois Piette 2007.09.18
Still in build 2804.9245 (RAD Studio 2007)
Still in build 2825.9366_VCL_Update.8
Load the attached program into the IDE as a Win32 app.

See that error squiggles are indicated for the code on the line marked with #1.

Nevertheless, the program compiles as expected.

program Project2;

{$APPTYPE CONSOLE}

uses
SysUtils;

type
TMyFuncPtr = procedure (const Msg : String); cdecl;
procedure MyFct(const Msg : String); cdecl; forward;
const
MyFctPtr1 : procedure (const Msg : String); cdecl = MyFct; //#1
MyFctPtr2 : TMyFuncPtr = MyFct;
procedure MyFct(const Msg : String); cdecl;
begin
WriteLn(Msg);
end;
begin
MyFctPtr1('Test1');
MyFctPtr1('Test2');
end.
QC# Project Area
Delphi IDE\Code Editor\Error Insight
Description: Steps:
stdcall causes error insight errors. New VCL App
add the following type decl;

type
TTestRecord = record
E1: procedure stdcall of object;
E2: procedure of object stdcall;
E3: procedure of object; stdcall;
end;

//error insight is flagging 6 different errors. the code compiles fine.

QC# Project Area
Delphi IDE\Code Editor\Error Insight
Description: Steps:
When the Editor options "error insigth" is enabled, Adding comments, new lines and deliting lines within a class definition is causing performance issue.

After dding few blank lines between class fields definition, the "private bytes" of the bds process increase of 1K.
Removing those makes this number to increase of 1 more K per line removed.

The "Private Bytes" number will not decrease unless even when those comments or blank lines are removed.
BDS needs to be re-started to see "privates bytes" number change.

[ref. 254984 for other steps.]
1. Open a pas file with class definition

2. start process explorer and open the properties window for it - [Private bytes during at this point of this test is 139 484 K]

3. add blank lines between fields of a class definition. -[ "private bytes" = 140 828 K"]

4. remove the same lines [ "private bytes" = 144 284K"]

5. wait ....10 minutes. [ "private bytes" = 144 284K"]

will update this raid with the automated tests once it is ready


    51428

QC# Project Area
51428 Delphi IDE\Code Editor\Help Insight
Description: Steps:
[QC Short Description]
REPRODUCIBLE Help Insight "Object Reference Not Set To An Instance of an Object"

[QC Description]
I put together a relatively simple case that will give an Object Refererence Not Set To An Instance of an Object" error dialog box every time you hover over an identifier.

The same thing happens with many other symbols defined in the D3DX9 unit.

Code compiiles without error.

This has been around for a long time...
QC Entry 51428


STACK TRACE IN COMMMENT.
This uses DirectX code from the Clootie/Jedi library. Load the project title Bug in the attached files. In the main program, hover the mouse cursor over D3DXMatrixIdentity and you'll get an error dialog. D3DXMatrixIdentity is an inline procedure declared in the D3DX9 unit.

    22343

QC# Project Area
22343 Delphi IDE\Form Designer
Description: Steps:
[QC Short Description]
F1 not working from embedded form-designer

[QC Description]
Selecting a control on the embedded VCL Form designer and pressing the F1 button fails to display help for the selected control.

Applies only to the embedded designer! With the floating designer F1 still works as in previous versions
QC Entry 22343

[10.0.2237.38180 ( 2/16/2006) : true ]
[HelpUpdate]
!. Start a Delphi with just the Win32 personality (with the default docked layout and the embedded designer). 1. Start a Win32 project. 2. Place a TButton on the main form. 3. Click on TButton so that it is selected. 4. Press F1. In previous versions of Delphi (e.g. Delphi 5), help on TButton would be displayed. In Delphi 2006, nothing happens.

QC# Project Area
C++Builder IDE\File Handling
Description: Steps:
_GetCppExplorerController is called on multiple threads, but it is clearly not a thread safe routine. FastMM reports double free attempts on a global data module variable when working with C++ modules.
Run the IDESmokeTest on a machine with dual core processor. Observe FastMM error reports when reopening a C++ project (consistently, but not 100%).

    44578

QC# Project Area
44578 Delphi IDE\Open Tools API
Description: Steps:
[Windows Vista]
[QC Short Description]
IDE Crashes on shutdown with DLL expert loaded

[QC Description]
When this very DLL export (attached) is loaded the IDE crashes on shutdown (the Windows Vista "Blabla has stopped working" dialog shows up).
QC Entry 44578
Install on Windows Vista (note from QA: does not occur on Windows XP)

1) Compile the attached expert project or use the included DLL
1) Add DLL expert to the registry path HKEY_CURRENT_USER\Software\Borland\BDS\5.0\Experts using an string key such as TestExpert with a value of C:\<PathTo>\IDECodeFind2007CrashTest.dll
2) Start Delphi 2007
3) When completely started up, close the IDE using the main window caption bar X

-> EXP: IDE shuts down normally
-> ACT: IDE crashes with this type of error (seen under the Delphi 2007 debugger):

---------------------------
Debugger Fault Notification
---------------------------
Project D:\Borland\Delphi2007\bin\bds.exe faulted with message: 'access violation at 0x05ac6c0c: access of address 0x05ac6c0c'. Process Stopped. Use Step or Run to continue.
---------------------------
OK
---------------------------

The crash happens after FinalizeWizard completes and the DLL is unloaded. The call stack at the time is like this with the top frames repeated many times:
:77dcee57 ntdll.KiUserExceptionDispatcher + 0xf
:77deb6a3 ; ntdll.dll
:77dcee57 ntdll.KiUserExceptionDispatcher + 0xf
:77deb6a3 ; ntdll.dll
:77dcee57 ntdll.KiUserExceptionDispatcher + 0xf
:77deb6a3 ; ntdll.dll
:77dcee57 ntdll.KiUserExceptionDispatcher + 0xf
:77deb6a3 ; ntdll.dll
:77dcee57 ntdll.KiUserExceptionDispatcher + 0xf
:2000a204 UnregisterModule + $20
:2000ac6e ; C:\Windows\SysWOW64\rtl100.bpl
:77dfa664 ntdll.RtlDestroyQueryDebugBuffer + 0x100
:77deb8f2 ; ntdll.dll
:77deb915 ; ntdll.dll
:76a292c7 kernel32.ExitProcess + 0x15
:200078c9 @Halt0 + $C5
:00400000 ; C:\<IdePath>\bin\bds.exe

QC# Project Area
Delphi IDE\VersionInfo
Description: Steps:
IDE doesn't save version info for the localized project when the localized project for a project is present.

Clarify 672774
****UPDATED****
1. I create a simple sample project (VCL forms application - Delphi for Win32)
2. I then choose Project | Languages | Add. I then choose to add French Canada.
3. I save when prompted.
4. I recompile the project when prompted.
5. I now have my project.frc in the project manager, and it compiles / works properly.
6. I then choose Project | Options and select 'Include version information in project.'
7. I can now modify the version information, such as set Major = 3. Then, File, Save all.
8. When I build the project.frc and go to view the properties on the built frc, I do not get the version info.
9. I set the same version informations on project.frc using the right-click context menu -> options.
10. If I save the project group, close it, re-open it (reopen the Project group, then activate Project.frc) and choose Project | Options, the 'Include version information in project' does appear, however, the right-click context menu of project.frc does not display the correct version information...

****ORIGINAL****
1. I create a simple sample project (VCL forms application - Delphi for Win32)
2. I then choose Project | Languages | Add. I then choose to add French Canada.
3. I now have my project.frc in the project manager, and it compiles / works properly.
4. I then choose Project | Options and select 'Include version information in project.'
5. I can now modify the version information, such as set Major = 3. Then, File, Save all.
6. When I build the project.frc and go to view the properties on the built frc, I do not get the version info.
7. If I save the project group, close it, re-open it (reopen the Project group, then activate Project.frc) and choose Project | Options, the 'Include version information in project' is once again de-selected and all my changes are gone.

    48947

QC# Project Area
48947 Delphi IDE\Class Completion
Description: Steps:
[QC Short Description]
Class completion duplicates code when invoked on certain classes

[QC Description]
When invoked on some classes, class completion will duplicate code; usually what is located in the topmost private section.

This problem is present in build 2738, but not in 2728.
QC Entry 48947
1. Start Delphi build 2738. 2. Open the attached dupunit.pas. No need to create a project first. 3. Move the cursor somewhere in the class and invoke Class Completion (Ctrl+Shift+C). 4. The expected behavior is that nothing should change, but everything in the private section is duplicated and class completion produces code that doesn't compile.

QC# Project Area
Delphi IDE\Packages
Description: Steps:
When a file is added to a package project and there is a .dcr with the same base name as the file, it leads to duplicate .dcr's in the project causing duplicate resource errors.
[this problem was introduced to Spacely post-RTM]
0. Install Spacely and Cogswell
[an important step, the latest Spacely only does not show the problem]
1. Unzip attachment to a directory
2. File | New Delphi Package
3. Project | Add To Project and select the Unit1.pas you unzipped in step 1
4. Go to Project | Remove From Project notice the list contains:

Unit1.dcr
rtl
Unit1
Unit1

5. Remove one of the Unit1s
6. Go to Project | Remove From Project and notice that the list is the same
or there might now be two Unit1.dcr's

alternate steps to see the duplicate dcr's
1. Unzip attachment to a directory
2. File | New Delphi Package
3. Project | Add To Project and select the Unit1.pas you unzipped in step 1
4. Go to Project Manager and remove Unit1.pas from the project
5. Go to Project | View Source and notice two entries for Unit1.dcr,e.g.
package Package1;

{$R *.res}
{$R '..\test\Unit1.dcr'}
{$R '..\test\Unit1.dcr'}

    50146

QC# Project Area
50146 Delphi IDE\Packages
Description: Steps:
[QC Short Description]
Project options dialog corrupts the list of DCR files in package DPK file.

[QC Description]
The list of DCR files in the package DPK file gets "corrupted" to include duplicate entries, which in turn prevent the project from building. Manual editing of the DPK file can resolve the problem.

QC Entry 50146
0: First, copy the attached UNIT1.PAS and UNIT1.DCR to a folder on your system. (or use any other PAS/DCR pair that you have) 1: Launch RAD Studio 2: File/New Package - Delphi Win32 3: Right-click on package1.bpl in project manager, and "View Source". You'll see this at the head of the file. package Package1; {$R *.res} {$ALIGN 8} ... 4: Project/Build Package 1 - this works just fine. 5: Project/Add to Project "Unit1.pas" (from step #0) Note that the package "view source" (the DPK file) now looks like this:- package Package1; {$R *.res} {$R 'dcrbug\Unit1.dcr'} {$ALIGN 8} ... 6: Again, Project/Build Package 1 - this works just fine. 7: Open Project/Options dialog, and click "OK" to close: DPK file now looks like this package Package1; {$R *.res} {$R 'dcrbug\Unit1.dcr'} {$R 'dcrbug\Unit1.dcr'} {$ALIGN 8} ... Note: an additional line will be added each time you repeat this step!! 8: Again, Project/Build Package 1 EXPECTED: Builds ok. ACTUAL: Build fails, with error:- [DCC Error] E2161 Warning: Duplicate resource: Type 2 (BITMAP), ID 1; File C:\Users\Roddy\Documents\RAD Studio\Projects\dcrbug\Unit1.dcr resource kept; file C:\Users\Roddy\Documents\RAD Studio\Projects\dcrbug\Unit1.dcr resource discarded. *NOTE* This should be a warning, but it's being treated like a fatal error. Your package has *not* built.

QC# Project Area
Delphi IDE\Packages\Installing Components
Description: Steps:
[ACCESS VIOLATION]

[QC Short Description]
Rapport d'incident automatisé

[QC Description]
Violation d'accès à l'adresse 216D53B0 dans le module 'delphicoreide100.bpl'. Lecture de l'adresse 00000004.

I was trying to compile and install a component set designed for BDS2006. There are two packages. One runtime and one design time. The runtime package compiled OK. The design time complained about a component already in the design time package and proposed to remove the unit. I asked to see the details in the remove dialog box, then clicked OK to accept removing. The access violation occured when I clicked OK.
QC Entry 42271 and also 42274

It looks like it is not related at all to the attached code. I reproduced with another project. I built a sample project. See attached file PackageCrash2622.zip.

Note: DO NOT DISTRIBUTE ATTACHED CODE !

QC 42271 - removed from Ref No so field testers cannot see the attached code


// Francois Piette
Still there in 2671
Still in 2798, see QC51434
Still in 2825.9366_VCL_Update.8, see QC53376

Steps with the simple projects attached:

1. Launch the IDE
2. Close All
3. Unzip PackageCrash2622.zip in any folder
4. Open ProjectGroup1 from PackageCrash2622.zip
5. Build Package1
6. Install Package1
7. Build package2
=> The IDE pops a dialog box up to let you remove Component1
Click OK to remove Component1
=> ACCESS VIOLATION
8. Shutdown the IDE
=> Send report to Microsoft :-)

NOTE 7/17/07 - This no longer results in an AV. It causes an duplicate resource to be added to the project Source file. if you remove this duplicate, the file now builds fine.
Note by F. Piette 05/08/2007 - Build 2770.8305 still experience duplicate resource added in the package

Step to reproduce with project mentionned in QC42271:

1. Unzip/Untar the attached source code
2. Open GrizzlyBaseD10.bdsproj
3. Build GrizzlyBaseD10.bpl first
=> It complains about GrizzlyBaseR10.bpl not found (normal !)
4. Build GrizzlyBaseR10.bpl (Should be OK)
5. Build GrizzlyBaseD10.bpl again
=> Complain about HotKeyMgr
6. Check "Show details"
7. Click OK
=> ACCESS VIOLATION

Note: DO NOT DISTRIBUTE GRIZZLYPACK ATTACHED CODE !
Note by F. Piette 05/08/2007 - Cannot reproduce this one with build 2770.8305

    42177

QC# Project Area
42177 Delphi IDE\Desktop Layouts
Description: Steps:
[QC Short Description]
In classic undocked mode after you close last unit you will see gray window and if you try to close it using Ctrl+F4 you will get Access violation

[QC Description]
Still exists in 2625.
In classic undocked mode after you close last unit you will see gray window and if you try to close it using Ctrl+F4 you will get Access violation
QC Entry 42177
1. Open IDE. 2. Switch IDE to Classic Undocked layout. 3. Create New VCL application. 4. Close every open unit unit you will gray window. 5. Press Ctrl+F4 and see access violation Expected: After closing of last unit this window should disapear. Actual : This gray window stay in screen and it looks quite bad.

QC# Project Area
Delphi IDE\Translation Tools\Resource DLL Wizard
Description: Steps:
[Nov 2007 Update]
Resource DLL wizard does not work.

Error dialog with "There are no options" show up.

After error message, the RD wizard still active, but the project file does not contain any source files.

Note:
BDS 2007 RTM (D2007 Update3) worked fine.
1. Create new VCL form / W32 application. save it.
2. Select "Project | Languages | Add....
3. Error dialog with the following message.

===============
[Window Title]
Error

[Content]
There are no options for C:\Users\tarisawa\Documents\RAD Studio\Projects\Test\Project1.dproj
===============

QC# Project Area
Delphi IDE\Help
Description: Steps:
Build Events shows up No help found for context.

Additional enabling Help Debug results in the following message in the Help Viewer:

[Help2] CanShowALinkEx ALink = BDS5:13751 ANameSpace = borland.bds5 AIndex = 2 Result = 0
+ Install RTM product
+ Create a VCL Project
+ Click Project | Options | Build Events
+ Click the Help button
//exp: Information on Build Events worked
//act:

---------------------------
Error
---------------------------
No help found for context.
---------------------------
OK Details >>
---------------------------

<details are attached>
---- ADDITIONAL ----
Used Chris B's help tool. The following information was found:


No help found for "hcBuildEventPropSheet"

No help found for "hcBuildEventEditor"

No help found for "bds5:13751"

Interestingly enough, putting in: bds5:13752 results in getting back a help page of:
ms-help://borland.bds5/devcommon/buildconfigurationmanager_xml.html

[Help2] CanShowALinkEx ALink = BDS5:13751 ANameSpace = borland.bds5 AIndex = 2 Result = 0

QC# Project Area
C++Builder IDE\Help
Description: Steps:
error message when pressing help button in project options for c++ app:
No help found for context
1. create new c++ console application
2. open project options
3. press help button

//exp: help shows up
//act: error msg: no help found for context

QC# Project Area
Delphi IDE\Help
Description: Steps:
No help found when clicking button in
Project Page Options dialog
New VCL app
Project|Project page Options
Click Help button

    43181

QC# Project Area
43181 Delphi IDE\Help
Description: Steps:
[QC Short Description]
Pressing F1 after creating a new project doesn't work

[QC Description]
Pressing F1 after creating a new project gives the error "No help found for context"
QC Entry 43181
1. Start IDE. 2. Using the mouse, select File, New, VCL Forms Application - Delphi for Win32. Do not do anything using the mouse after that. 3. Wait until a new VCL Forms app has been created, press F1. EXP: Proper help on how to design a VCL Forms app. ACT: No help found for context

QC# Project Area
Delphi IDE\Help
Description: Steps:
Help button for Pre-Build Event dialog brings up error: No help found for context. 1. new VCL app for win32
2. Project | Options
3. Click on page build events
4. Click on Edit...
5. in Pre-Build Event dialog click help button

//exp: help shows up
//act. error message

    21257

QC# Project Area
21257 Delphi IDE\Help
Description: Steps:
[QC Short Description]
Help needs to use Personality for Search Filter

[QC Description]
Help is supposed to be helpful, I should not have to scroll massive lists of unrelated help just because the IDE doesn't bother to pass what personality should be used for the filter.

QC Entry 21257
[HelpUpdate]
(Simple Example) 1, Open up any personality 2. Type some keyword like TObject 3. Hit F1 ---- Expected Behavior I see TObject only for that Personality (Annoying Example) 1. Open up any Personality 2. Type keyword like "Handle" 3. Hit F1. --- I shouldn't have to scroll through 40 items that don't relate to my personality to find the "open" call I want.

    47408

QC# Project Area
47408 Delphi IDE\Refactoring\Rename
Description: Steps:
[QC Short Description]
Rename refactoring does not work for non-class function parameters

[QC Description]
Renaming of a Parameter that is not part of a class only renames the parameter in the implementation section but does not rename it in the declaration of the
procedure/function.
QC Entry 47408
1. start Delphi for Win 32.
2. create a new VCL application.
3. in the interface section of the form's unit (and outside of the class), declare this function (just above the Implementation keyword):

procedure DoThat( Param1: Integer );

4. in the implementation of the unit, create the following function:

procedure DoThat( Param1: Integer );
begin
end;

5. right-click on the Param1 parameter from the declaration in the interface section.
6. invoke the Rename refactoring and change the name to Param2.
7. the name of the parameter is changed in the implementation section, but not in the interface.
8. invoking Rename on Param1 from the implementation for the procedure will also not rename the parameter in the declaration of the procedure.

    48365

QC# Project Area
48365 Delphi IDE\Start Page
Description: Steps:
[QC Short Description]
When selecting a Newsfeed, the displayed dates of items are about a month in the future

Example:
CodeGear Developer Days June 2007 - The Replays
C++Builder, Delphi 2007 for Win32, Delphi for PHP and InterBase technical sessions
Posted on: Sunday, 29 July 2007

CodeGear - Delphi for Win32 - TRY IT NOW!
eDM for Delphi 2007 for Win32
Posted on: Sunday, 29 July 2007
QC Entry 48365
Open the IDE.
Click on 'Select Newsfeed' in the top right
Select 'Delphi'
//note the dates displayed on the items
reference the dates on the public website using regular browser
//note the date difference

QC# Project Area
Delphi Install
Description: Steps:
[STRING CORRUPTION]
Message characters when I canceled Install were corruption.
(InstallAware Wizard)
1. Run Setup.exe
2. Click Cancel Button At once (InstallAware Wizard)

QC# Project Area
Delphi Install
Description: Steps:
When choosing View, Data Explorer from a fresh installation of RAD Studio 2007 R2 Architect, Data Explorer shows Object not set to an instance of an object. And there's no Ado.Net data providers shown in Data Explorer. 1. Install RAD Studio 2007 R2 Architect with all features on Windows XP
2. Start IDE.
3. Choose View, Data Explorer

EXP: No errors
ACT: Object not set to an instance of an object. And there's no Ado.Net data providers shown in Data Explorer.

Alternative steps

RAD Studio 2007 RTM Arch on Windows XP
1. Select Modify, Repair or Uninstall from RAD Studio menu on Windows XP (assumes existing installation) and that all features are installed.
2. Select Repair, and click Next and complete the process.
3. Start IDE.
4. Choose View, Data Explorer

EXP: No errors
ACT: Object not set to an instance of an object. And there's no Ado.Net data providers shown in Data Explorer.


    51030

QC# Project Area
51030 Delphi Install
Description: Steps:
[QC Short Description]
ESD Help installer & 7zip files installed to bad location - prevents network install

[QC Description]
When the ESD installer stub is used to install Highlander, it downloads the instal 7zip files to a location of the user's choice, then unzips them into the Documents and settings\all users directory and continues installation from there.

With the breakout of the help installer into a separate procedure, this is no longer true of the help install - The installer and 7zip files for the help system are downloaded to c:\documents and settings instead.

Because of this, If I use the install image on the network to install to several workstations, each of the workstations must face a lengthy download of the help system files.

There may be a way to make the help install automatically if the files are copied to the network/external hd, but if there is it is not obvious, and really should not be necessary.

Only obvious "solution" is to copy the Help install files from documents and settings to each workstation prior to running install. Install should work without such hacks.

QC Entry 51030
Download install.exe to a network or external drive. Run install. Attach a different workstation to the network or external drive Run install from second workstation Exp: Install for second workstation will use data downloaded to the network or external hd and will not need to download any files from the internet. Act: RAD Studio is installed without downloading additional files from the internet, but the Help install files are not available to the second workstation, so it spends an additional 3.5 hours downloading them (actual time from my workstation at work).

QC# Project Area
C++Builder Install
Description: Steps:
REGRESSION
If Rave is installed, prior to Nov 2007 update, path is removed when you do the Nov 2007 update. Be sure to keep the path: $(BDS)\RaveReports\Lib
If Rave is installed
------------ ORIGINAL -----------------
Build a basic C++ application with RAVE installed results in:
Unable to find package import: Rave75VCL.bpi

If you remove the reference then it builds fine.
+ Have a highlander RTM with Rave installed
+ Click Tools | options | Library - Win32
+ Examine library path
//exp & act: You will see $(BDS)\RaveReports\Lib in the list.

+ Install the Nov 2007 patch
+ Click Tools | options | Library - Win32
+ Examine library path
//exp You will continue to see $(BDS)\RaveReports\Lib in the list.
//act: Path is gone

+ File | New | VCL forms Application - C++ Builder
+ Project | Build
//exp: no errors:
// act:
Find Package Import
-------------------------------
Unable to find package import: Rave75VCL.bpi
Package Import: <edit box>
Remove this Ref? (checkbox)
-------------
Don't ask again OK Cancel Help

QC# Project Area
Delphi Install
Description: Steps:
Help Update Install AND Uninstall

It closes without any notification. Shouldnt we get a dialog with 'Finish' or Install Completed' for instance ?

Uninstall also do not notify when is completed.

QC# Project Area
Delphi Install
Description: Steps:
missing Intraweb_90_100.bpl and IntrawebDB_90_100.bpl under System32

[Please check #255286]

QC# Project Area
Delphi Install
Description: Steps:
Check for Update 3 shows up on a Highlander RTM build and should not. + Bring up a Highalnder RTM build
+ Change to swintern to get "akami" like install
+ click through the install
//exp: no notification that the Help could not be found and that users should make sure that they are installing over an Update 3 version
//act: notifiction occurs.