Menu ▾ ▴

#589 Uses Clause Manager: the VCL/RTL tab always lists the units of lib\Win32\Release

Closed
closed-fixed
nobody
None
2026-11-08
2026-11-06
No

TfmUsesManager.GetCommonUnits (GX_UsesExpert.pas) fills the VCL/RTL tab from the .dcu files in <IDE root>\lib\Win32\Release from Delphi XE on, whatever the IDE (32 or 64 bit) and whatever platform the current project targets.

Usually this makes no difference, since the RTL and VCL units have the same names on every platform. But on an installation without the Win32 libraries the tab would stay empty, and units that exist only for another platform, or only for Win32, are listed or missing accordingly, without anything saying so.

Possible fix: use the folder of the current project's platform ($(Platform)), falling back to Win32, or say in the tab when the folder does not exist.

Found during the review of [r6069]; not tried in the IDE, and whether the 64-bit Delphi 13 IDE can be installed without the Win32 libraries has not been checked.

Related

Commit: [r6069]
Feature Requests: #280

Discussion

  • Thomas Mueller

    Thomas Mueller - 2026-11-08

    Fixed in [r6091].

    From Delphi XE on, the VCL/RTL tab now lists the units in lib\<platform>\release of the current project's platform. Without a project it uses the IDE's own platform, Win32 or Win64 in the 64-bit IDE; the Identifiers tab does the same now. For a platform that is not installed, the tab stays empty.

    Tested in Delphi 13: Win32 1584 units, Win64 1654, Win64x 1714, the number of .dcu files in each folder; without a project 1584 in the 32-bit IDE and 1654 in the 64-bit IDE, before the fix always 1584.

     

    Related

    Commit: [r6091]


Log in to post a comment.