[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 somethingQC Entry 42011

エリア

Documentation\Online Help

説明:

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

[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.

エリア

Documentation\Online Help\VCL

説明:

[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

エリア

Documentation\Online Help\VCL

説明:

[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

エリア

Documentation\Online Help\VCL

説明:

[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.

エリア

Documentation\Online Help\VCL

説明:

[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

エリア

Documentation\Online Help\VCL

説明:

[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

エリア

Documentation\Online Help\VCL

説明:

[QC Short Description]Missing help for TShellresources

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

エリア

Documentation\Online Help\Main help

説明:

[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

エリア

Documentation\Online Help\Main help

説明:

[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:

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

QC Entry 44716

エリア

Documentation\Online Help\Main help

説明:

[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.

[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

エリア

IDE

説明:

[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

エリア

IDE

説明:

[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)

[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

エリア

IDE\Project Management\Project Manager

説明:

[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

エリア

IDE\Tool Palette

説明:

[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

エリア

IDE\Form Designer

説明:

[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).

[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

エリア

IDE\Form Designer

説明:

[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

エリア

IDE\Object Inspector

説明:

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

[QC Description]The category for the properties

DockSiteDragKindDragMode

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

エリア

IDE\Menu Designer

説明:

[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.

[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

エリア

IDE\Repository

説明:

[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

エリア

IDE\Code Completion

説明:

[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

エリア

IDE\Startup/Shutdown

説明:

[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.

[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

エリア

IDE\Packages

説明:

[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 PietteI can reproduce with 2608QC Entry 40872

// Francois PietteProbably same case as report 238305

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

エリア

IDE\Packages\Installing Components

説明:

[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.

エリア

IDE\Packages\Package Manager

説明:

[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:

[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 projectcompiles 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 noerroes/warnings/hints were printed.

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

エリア

Install

説明:

[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 existsthe same bug exists for 11.0.2593.4239QC Entry 39984

エリア

Install

説明:

[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

[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

エリア

Install\User Interface

説明:

[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

エリア

Install\Uninstall

説明:

[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

[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

エリア

Install\Files

説明:

[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

エリア

Install\Files

説明:

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

QC Entry 49169

エリア

Install\Sanctuary/Registration Server

説明:

[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

エリア

Database\TField\TNumericField\TBCDField

説明:

[QC Short Description]Exception when formatting BCD numbers

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

[QC Short Description]TSQLQuery is truncating the last character in resultset with Oracle characters

[QC Description]This problem was discovered based on a select going against an oracle table with a column defined of CHAR(1). The result for this column in the query was blank. The actual result should be 'Y'. The problem is easily recreated by just selecting from dual in oracle. This was tested on both Oracle 8 and Oracle 9.

[QC Description]I cannot make a change to database connections in the IDE Data Explorer if changes have been made in the stand-alone Data Explorer. Any attempts to do so are met with 'The configuration file has been changed by another program. (D:\Program Files\CodeGear\RAD Studio\5.0\bin\DataExplore.exe.config)'QC Entry 50152

エリア

VCL

説明:

[QC Short Description]Problems when main form position changed (no taskbar button, etc.)

[QC Description]Changing the Position property of a main form in OnCreate to anything other than the value assigned in the object inspector causes various problems:

1. No taskbar button is created and the form minimizes to a desktop icon.

At the time of the AV, which indicates that the bug is inside the method TPropertyEditor.GetIsDefault.

This report came from better investigation of the (withdrawn) report #7978.

UPDATE------------------This bug happens only if the subcomponent property is read-write (e.g. TSimpleDataset.Connection) and not when it is read-only (e.g. TLabeledEdit.EditLabel). Please read the comments (especially the fourth one) for an explanation and more exact pinpointing of the bug in the source of DesignEditors.pas.QC Entry 7991

エリア

VCL\Additional Controls\TSpeedButton

説明:

[QC Short Description]TSpeedButton.Transparent broken

[QC Description]TSpeedButton.Transparent is broken after applying Update 1. This happens when using Themes and the button is placed on a container (e.g. a TPanel) and not directly on a form.

Refer to the workaround which involves changing the VCL source to actually undo the change made in Update 1.

--

We have several apps that use this technique extensively, and we really do NOT want to redo the UI's for them.

I tried it in Delphi 1, but TSpeedButton did not have a Transparent property in that version. But for sure D7 and D2006 worked perfectly.

Note that there were problems witht this property in Delphi 2007 RTM, but the attempted fix has made the matter worse.QC Entry 47250

エリア

VCL\Additional Controls\Action Bar Controls

説明:

[QC Short Description]TCustomizeDlg is not localized

[QC Description]TCustomizeDlg is not localized in Japanese edition Delphi2006. However, it was localized in Delphi6.QC Entry 36283

エリア

VCL\Additional Controls\TCategoryButtons

説明:

[QC Short Description]CategoryButtons unit leaks crDragCopy cursor

[QC Description]In the initialization section of CategoryButtons a new cursor crDragCopy = -23 is created. But it is not released in the finalization section. Since the cursor index is negative, TScreen.DestroyCursors will not release the cursor.QC Entry 38720

エリア

VCL\Core VCL Classes\TForm

説明:

[QC Short Description]Clicking in application main form when a modal dialog is displayed doesn't flash and make a beep

[QC Description]With the newest VCL source, when you display a Modal Dialog and click outside of the modal dialog in the parent dialogs area, the Modal dialog doesn't flash and beep like it should.

Sample project attachedQC Entry 50021

エリア

VCL\Core VCL Classes\TForm

説明:

[QC Short Description]AV on RecreateWnd when popup form had WndParent assigned

[QC Description]The problem appears because destroying form is added to the Application's FPopupForms list.QC Entry 49494

[QC Description]ScaleBy now also scales the Constraints for a form. Unforunately the constraints are scaled *before* the form itself is scaled, which may cause an incorrect form size because the scaling of the constraints already caused the form to resize!QC Entry 43938

エリア

VCL\Core VCL Classes\TForm

説明:

[QC Short Description]Minimize does not work

[QC Description]Minimize continues to play tricks. The problem described happens also in applications build with Delphi, that's why I think this is a basic functionality failure.QC Entry 49061

エリア

VCL\Core VCL Classes\TControl

説明:

[QC Short Description]Control height isn't scaled correctly when using visual form inheritance

[QC Description]If you have a form with a control on it, descend from that control using visual form inheritance, and change the controls height but not it's top the control's height is scaled incorrectly when running under different DPIs.

In the original code the second line incorrectly checks sfHeight again, instead of checking sfTop. By doing that it always uses the first "H := MulDiv" line, incorrectly scaling the height based on the already scaled Top value. The fourth line is also incorrect, and actually sets the scaled height to a twice scaled top, but it never gets executed because of the first error. The sfWidth/sfLeft scaling is implemented correctly.QC Entry 45806

エリア

VCL\Core VCL Classes\TWinControl

説明:

[QC Short Description]Issues with WM_PAINT handling on Windows Vista

[QC Description]Controls derived from the TWinControl control can receive WM_ERASEBKGND and WM_PRINTCLIENT messages send by the VCL, with no device context as the wParam part of the message.

This can cause problems in 3rd party controls that implement the message handler as follows (code from Virtual treeview):

[QC Description]DropDownCount seems to always be set to 30 when running under vista. when used with a combobox with a large ItemHeight this causes the dropdown list to be drawn off the top+bottom of the screen.

see attached screenshotQC Entry 41940

エリア

VCL\Standard Controls\TGroupBox

説明:

[QC Short Description]Form Designer always shows TGroupBox themed, even when themes are turned off

[QC Description]With a project which has disabled runtime themes, the form designer still shows a TGroupBox as themed. Other controls such as a TButton are shown non-themed as expected.QC Entry 44088

エリア

VCL\Docking

説明:

[QC Short Description]Vista only! Autohidden dockwindows not refreshing correctly when they "slide" back into place

[QC Description]When you autohide a dockwindow on the side and bottom of the Main application and when it retracts back to the side after being open it causes a repeating effect. This seems to happen in VISTA only! See attached screenshot and steps.QC Entry 42977

エリア

VCL\Multi-Monitor Support

説明:

[QC Short Description]Hints should not span monitors

[QC Description]See Steps.

(This issue is also present in Delphi versions prior to 7.)QC Entry 1669

incorrectly assumes that the virtual desktop will always start at (0, 0). That won't be the case if, for example, the user has positioned a secondary monitor to the left of their primary monitor. In such a configuration, hints will go off the right edge of the rightmost monitor due to this bug.

[QC Description]Constants PBS_MARQUEE and PBM_SETMARQUEE are not defined in CommCtrl unit of Delphi. This constant corresponds to PBM_SETMARQUEE message from Win32 API for Progress Bar Control.QC Entry 25425

エリア

VCL\Win 32 Controls\TImageList

説明:

[QC Short Description]"Add Images" dialog is not resizable

[QC Description]This is a bit of annoying when adding a bunch of icons to a TImageList (e.g. for toolbars): one can easily select the "Thumbnails" view, but since the dialog is not resizable, only two icons fit in a row.

TOpenPictureDialog already allows resizing, which would be speeding up finding the wanted icons a lot.QC Entry 39739

エリア

VCL\Win 32 Controls\THeaderControl

説明:

[QC Short Description]THeaderSection position properties are wrong after position changed

[QC Description]When I change order of sections of the THeaderControl and after that I change size of any of these two sections (by mouse), then the Width property (for example) will stay associated with that old position caption, not with that new.QC Entry 34075

エリア

Debugger\Breakpoints

説明:

[QC Short Description]Ignore non-IDE breakpoints

[QC Description]It would be really handy if the Delphi integrated debugger had an additional option: Ignore Non-Delphi Breakpoints.

The current behavior assumes that, if it's a breakpoint, then the debugger should break at it. So if a third-party DLL is coded carelessly, and includes spurious breakpoint interrupts (e.g., certain Microsoft DLLs), then the current behavior will pop up the CPU View unexpectedly when one of those breakpoints is reached.

This new feature would allow users to avoid breaking at those third-party breakpoints. Only breakpoints that I set, using the IDE, would be considered. After all, if I wanted a breakpoint in their DLL, *I* would put one there.

This setting would change the way the integrated debugger responds to breakpoint interrupts. Specifically, it would first check to see if the user actually set that breakpoint. If the address wasn't found in the IDE's internal list of user-defined breakpoints, then the IDE would automatically resume the program's execution (much like the way conditional breakpoints are treated now).

As it happens, introducing this new feature would fix issue #616 (CPU window pops up unexpectedly due to breakpoints in Microsoft DLLs).QC Entry 2030

Debugger Fault NotificationProject C:\---path to my project---\Project1.exe. faulted with message: 'access violation at 0x0005dfa6: access of address 0x0005dfa6'. Process Stopped. user Step or Run to continue. I can't do anything more. When I start compiled program without debugger I get no error. What causes the problem?QC Entry 47816

エリア

Debugger\Kernel

説明:

[QC Short Description]Step into/over causes a debugger deadlock

[QC Description]When debugging with string expressions in the "watch window" the debugger can run into a deadlock from which only Ctrl+F2 helps.QC Entry 48832

エリア

AddOn\IntraWeb

説明:

[QC Short Description]Intraweb Third Party Evals unlocked

[QC Description]When a third party eval component is installed, the expected behavior is that Intraweb falls back into evaluation mode. Among other things, eval mode causes the listening port to be randomized and forces connection only from the local machine.

With the version as released in 2795, eval components do not force IW into eval mode even though the log screen indicates that it has. Ports are not random and you can connect to the server from outside machines.

This effectively makes it impossible to distribute evaluation components for Intraweb as any evaluation component installed would be able to be used unlocked for free.QC Entry 51266

エリア

AddOn\IntraWeb

説明:

[QC Short Description]Missing file from Install

[QC Description]The installation of Intraweb is missing the IWCompilerDefines.inc file. This file should be placed in the lib folder along with compiled Intraweb dcus.QC Entry 51270

エリア

ActiveX\IDE\Wizards\Automation Object

説明:

[QC Short Description]Automation Object Wizards opens all units in project

[QC Description]When using the Automation Object Wizard all units in the project are opened.

This i quite annoying and takes a lot of time.3 minutes for an ActiveX library with 236 units.QC Entry 40684

エリア

ActiveX\Code Generators\TLibImp frontend

説明:

[QC Short Description]TLibImp produce invalid code with french local

QC Entry 49137

エリア

ActiveX\Type Library Editor

説明:

[QC Short Description]Open one unit opens all units in ActiveX project when Type library editor is active

[QC Description]When the type library editor is active and you double click on a unit in the project all other units are opened.QC Entry 41189

[QC Short Description]English Error-Messages in german compiled Projects

[QC Description]

Hello,if you compile an Delphi Program with the german Delphi 2007 for Win32 Version you'll get englisch runtime messages.

Example:StrToInt('Two');

-> EConvertError: 'Two' is not a valid integer value

expected:

-> EConvertError: 'Two' ist kein g ltiger Integerwert

SysConst.dcu in $(BDS)\Lib and $(BDS)\Lib\Debug have english resource strings. :-(

DBConsts.dcu has german strings :-)ComStrs.dcu has german strings :-)ComConst.dcu has german strings :-)Consts.dcu has german strings :-)HelpIntfs.dcu has german strings :-)RTLConsts.dcu has german strings :-)

QC Entry 49286

エリア

RTL\Delphi

説明:

[QC Short Description]Fastcode StrLen in the RTL

[QC Description]I would like Borland to include in the RTL the Fastcode StrLen function that it is a winner on the Fastcode RTL replacement target. The current winner is StrLen_JOH_IA32_7. It is written by John O'Harrow and it is 2.29 times faster than the current RTL StrLen function on a blend of the latest processors, P4 Presler, P4 Northwood, Pentium M Yonah Pentium M Dothan, AMD 64 and AMD 64 X2. It is using basic IA32 instructions only and will run on all processors after 486. It has undergone thorough validation and it is 100% compatible with the current RTL StrLen function.

Source and benchmark results are available here.

http://fastcode.sourceforge.net/challenge_content/StrLen.html

The function can be found in the StrLenJOHUnit.pas file in the StrLen Validation and Benchmark Tool project.

RegardsDennis Kjaer ChrsitensenQC Entry 27373

エリア

RTL\Delphi

説明:

[QC Short Description]Fastcode CompareStr in the RTL

[QC Description]I would like Borland to include in the RTL the Fastcode CompareStr function that it is a winner on the Fastcode RTL replacement target. The current winner is CompareStr_PLR_IA32_16. It is written by Pierre le Riche and it is 4.0 times faster than the current RTL CompareStr function on a blend of the latest processors, P4 Presler, P4 Northwood, Pentium M Yonah Pentium M Dothan, AMD 64 and AMD 64 X2. It is using basic IA32 instructions only and will run on all processors after 486. It has undergone thorough validation and it is 100% compatible with the current RTL CompareStr function.

Source and benchmark results are available here.

http://fastcode.sourceforge.net/challenge_content/CompareStr.html

The function can be found in the CompareStrPLRUnit.pas file in the CompareStr Validation and Benchmark Tool project.

For each of the 3 functions, the input string is unnecessarily converted into a WideString, processed and converted back. There are already separate overloaded versions of the function for WideStrings

Taking RightStr as an example, the current implementation of the function causes two AnsiString to WideString conversions, a wideString Length call, a WideStrnig copy, a WideString to AnsiString conversion and a WideString Clear, together with a surrounding try/finally. - Very, very Inefficient (All that is needed is one call to @LStrCopy).

The corrected version is approx 15x faster.QC Entry 35588

エリア

SOAP\WSDL Importer

説明:

[QC Short Description]WSDL generates AV on importing SOAP datamodule

[QC Description]When you try to import the interface descended from IAppServerSOAP for the Soap data module the WSDL importer crashes with AV "Access violation at address 502A86BA in module 'dclsoap70.bpl'. Read of address 00000000"QC Entry 8275

エリア

SOAP\Server Applications

説明:

[QC Short Description]Function Result as TDynByteArray fails with 4 zero bytes

[QC Description]First of all - excuse my bad english...

i have created a webservice with a server and client application and used a TByteDynArray to transfer data from server to client

In the client executable everything went fine, when i called this function except for one case: if the first 4 bytes of this array are zero (set by server function call) , the received array was set set to zero and had no data anymore.

I found a suspicious routine in the file:..\source\soap\OpToSAOPDomConv.pasprocedure TSOAPDomConv.WriteNonRectDynArray

I think the validation of a Nil-Pointer has to move a few lines down and must preceeded by the ByteArray Checkout. This one worked for me, but i'm not shure if i am really right by changing the statements in that order ?

[QC Description]Truncated grid entires (Warni...) in Audits window not showing hints with full content. It will be very useful to have this here (as in many other cases). It's very annoying to see the first n Characters of a long filename. Truncation of filenames should be in the middle (see: windows DrawTextEx with DT_PATH_ELLIPSIS Format) or on the left side.QC Entry 45780