在 RAD Studio 中,包含 Delphi 库路径的文件是什么?

问题描述 投票:0回答:2

在 RAD Studio 12.1 版本中,在“工具”->“选项”->“语言”->“Delphi”->“库”下,有一个标记为“库路径”的文本框。 如果我单击文本框右侧的按钮,它将打开一个弹出窗口,其中包含可以添加或删除的路径列表。

Delphi 中是否有一个文件保存该信息并且该文件可以从外部更新吗?

我有很多需要添加的路径,将它们复制到文件中比选择路径并为每个路径单击添加要容易得多。

我在 Embarcadero 网站上找不到任何相关信息。 我查看是否有任何文件的名称听起来可能包含此类数据,但找不到任何内容。

我只是想知道是否可以以及什么文件

rad-studio delphi-12-athens
2个回答
1
投票

数据在

c:\Users\username\AppData\Roaming\Embarcadero\BDS\23.0\EnvOptions.proj

以下是我的配置中的文件内容(注意 Win32 和 Win64 库路径的单独设置 (

Condition="'$(Platform)'=='
)):

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    <ProjectExtensions>
        <Borland.Personality>Environment.Personality.12</Borland.Personality>
        <Borland.ProjectType/>
        <BorlandProject>
            <Environment.Personality/>
        </BorlandProject>
        <ProjectFileVersion>12</ProjectFileVersion>
    </ProjectExtensions>
    <PropertyGroup/>
    <PropertyGroup Condition="'$(Platform)'=='Win64'">
        <DefaultPlatformSDK/>
        <DefaultProfile/>
        <ENV_PF_KeyStore/>
        <ENV_PF_KeyStorePass/>
        <ENV_PF_UWPTimeStampURL/>
        <ENV_PF_KeyStoreSubject/>
        <ENV_PF_UWPDistributionType/>
        <DelphiDCPOutput>$(BDSCOMMONDIR)\Dcp\$(Platform)</DelphiDCPOutput>
        <DelphiLibraryPath>C:\DelphiLibs\RBuilder\Source;C:\DelphiLibs\RBuilder\Lib\Win64;$(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports\$(Platform);$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp\$(Platform);$(BDS)\include;$(DXVCL)\Library\RS29\Win64;c:\DelphiLibs\TimeTell;c:\DelphiLibs\TimeTell\TTLib;c:\DelphiLibs\TimeTell\DataFox;C:\DelphiLibs\SQLDirect\Source;C:\DelphiLibs\PlusMemo;C:\DelphiLibs\Pascal Script\Source;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Dcu\D29\Win64;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\DataSnap;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\Grijjy;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\Synapse;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\ZLib;C:\DelphiLibs\Scalabium\SMExport\Sources;C:\DelphiLibs\Scalabium\SMImport\Sources;c:\DelphiLibs\nSoftware\IPWorks 2022 Delphi Edition\pas;c:\DelphiLibs\nSoftware\IPWorks Auth 2022 Delphi Edition\pas;c:\DelphiLibs\nSoftware\IPWorks Encrypt 2022 Delphi Edition\pas;c:\DelphiLibs\nSoftware\IPWorks OpenPGP 2022 Delphi Edition\pas;c:\DelphiLibs\nSoftware\IPWorks SSH 2022 Delphi Edition\pas;c:\DelphiLibs\nSoftware\IPWorks ZIP 2022 Delphi Edition\pas;C:\DelphiLibs\VirtualUI\dev\Delphi;$(BDSCatalogRepository)\QuickLib-2.2\;$(BDSCatalogRepository)\QuickLogger-1.45\;C:\DelphiLibs\Multilizer\LocalizationComponentsXEx_64bit;C:\DelphiLibs\CEF4Delphi-master\source</DelphiLibraryPath>
        <DelphiBrowsingPath>$(BDS)\OCX\Servers;$(BDS)\SOURCE\VCL;$(BDS)\source\rtl\common;$(BDS)\SOURCE\RTL\SYS;$(BDS)\source\rtl\win;$(BDS)\source\rtl\win\winrt;$(BDS)\source\ToolsAPI;$(BDS)\SOURCE\IBX;$(BDS)\source\Internet;$(BDS)\SOURCE\PROPERTY EDITORS;$(BDS)\source\soap;$(BDS)\SOURCE\XML;$(BDS)\source\Indy10\Core;$(BDS)\source\Indy10\System;$(BDS)\source\Indy10\Protocols;$(BDS)\source\fmx;$(BDS)\source\databinding\components;$(BDS)\source\databinding\engine;$(BDS)\source\databinding\graph;$(BDS)\source\data;$(BDS)\source\data\ado;$(BDS)\source\data\cloud;$(BDS)\source\data\datasnap;$(BDS)\source\data\dbx;$(BDS)\source\data\dsnap;$(BDS)\source\data\vclctrls;$(BDS)\source\data\datasnap\connectors;$(BDS)\source\data\datasnap\proxygen;$(BDS)\source\DataExplorer;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\Common;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\Common\dunit;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\Common;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\DUnitProject;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\DUnitProject\dunit;$(BDS)\source\DUnit\src;$(BDS)\source\DUnit\tests;$(BDS)\source\Experts;$(BDS)\source\indy\abstraction;$(BDS)\source\indy\implementation;$(BDS)\source\indyimpl;$(BDS)\source\Property Editors\Indy10;$(BDS)\source\soap\wsdlimporter;$(BDS)\source\Visualizers;$(BDS)\source\DUnit\Contrib\XMLReporting;$(BDS)\source\DUnit\Contrib\XPGen;$(BDS)\source\data\rest;$(BDS)\source\data\firedac;$(BDS)\source\tethering;$(BDS)\source\DUnitX;$(BDS)\source\data\ems;$(BDS)\source\rtl\net;$(BDS)\source\FlatBox2D;$(BDSCOMMONDIR)\Dcp\$(PLATFORM);$(DXVCL)\ExpressCore Library\Sources;$(DXVCL)\ExpressCommon Library\Sources;$(DXVCL)\ExpressGDI+ Library\Sources;$(DXVCL)\ExpressLibrary\Sources;$(DXVCL)\XP Theme Manager\Sources;$(DXVCL)\ExpressLayout Control\Sources;$(DXVCL)\ExpressPageControl\Sources;$(DXVCL)\ExpressEditors Library\Sources;$(DXVCL)\ExpressDocking Library\Sources;$(DXVCL)\ExpressBars\Sources;$(DXVCL)\ExpressOfficeCore Library\Sources;$(DXVCL)\ExpressSpreadSheet Core\Sources;$(DXVCL)\ExpressTile Control\Sources;$(DXVCL)\ExpressWizard Control\Sources;$(DXVCL)\ExpressSpreadSheet\Sources;$(DXVCL)\ExpressExport Library\Sources;$(DXVCL)\ExpressCharts\Sources;$(DXVCL)\ExpressScheduler\Sources;$(DXVCL)\ExpressQuantumTreeList\Sources;$(DXVCL)\ExpressVerticalGrid\Sources;$(DXVCL)\ExpressMemData\Sources;$(DXVCL)\ExpressSpellChecker\Sources;$(DXVCL)\ExpressDataController\Sources;$(DXVCL)\ExpressNavBar\Sources;$(DXVCL)\ExpressSkins Library\Sources;$(DXVCL)\ExpressPrinting System\Sources;$(DXVCL)\ExpressPivotGrid\Sources;$(DXVCL)\ExpressDBTree Suite\Sources;$(DXVCL)\ExpressOrgChart\Sources;$(DXVCL)\ExpressFlowChart\Sources;$(DXVCL)\ExpressMap Control\Sources;$(DXVCL)\ExpressQuantumGrid\Sources;$(DXVCL)\ExpressGantt Control\Sources;$(DXVCL)\ExpressRichEdit Control\Sources;$(DXVCL)\ExpressGauge Control\Sources;$(DXVCL)\ExpressPDFViewer\Sources;$(DXVCL)\ExpressEntityMapping Framework\Sources</DelphiBrowsingPath>
        <DelphiNamespaceSearchPath/>
        <DelphiDebugDCUPath>$(BDSLIB)\$(Platform)\debug</DelphiDebugDCUPath>
        <DelphiDLLOutputPath>$(BDSCOMMONDIR)\Bpl\$(Platform)</DelphiDLLOutputPath>
        <DelphiHPPOutputPath>$(BDSCOMMONDIR)\hpp\$(Platform)</DelphiHPPOutputPath>
        <DelphiTranslatedLibraryPath>$(BDSLIB)\$(Platform)\release\$(LANGDIR)</DelphiTranslatedLibraryPath>
        <DelphiTranslatedDebugLibraryPath>$(BDSLIB)\$(Platform)\debug\$(LANGDIR)</DelphiTranslatedDebugLibraryPath>
        <DelphiTranslatedResourcePath>$(BDSLIB)\$(Platform)\release\$(LANGDIR)</DelphiTranslatedResourcePath>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Platform)'=='Win64x'">
        <DefaultPlatformSDK/>
        <DefaultProfile/>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Platform)'=='Win32'">
        <DefaultPlatformSDK/>
        <DefaultProfile/>
        <ENV_PF_KeyStore/>
        <ENV_PF_KeyStorePass/>
        <ENV_PF_UWPTimeStampURL/>
        <ENV_PF_KeyStoreSubject/>
        <ENV_PF_UWPDistributionType/>
        <DelphiDCPOutput>$(BDSCOMMONDIR)\Dcp</DelphiDCPOutput>
        <DelphiLibraryPath>c:\program files (x86)\embarcadero\studio\23.0\lib\Win32\release;C:\Users\Jan\Documents\Embarcadero\Studio\23.0\Imports;C:\Users\Jan\Documents\Embarcadero\Studio\23.0\Imports\Win32;c:\program files (x86)\embarcadero\studio\23.0\Imports;C:\Users\Public\Documents\Embarcadero\Studio\23.0\Dcp;c:\program files (x86)\embarcadero\studio\23.0\include;C:\DelphiLibs\DevExpress\VCL\Library\RS29;c:\delphilibs\multilizer\localizationcomponentsxex_64bit\packages\full\bplxe\23.0;C:\DelphiLibs\Multilizer\LocalizationComponentsXEx_64bit;C:\DelphiLibs\RBuilder\Source;C:\DelphiLibs\RBuilder\Lib\Win32;c:\delphilibs\plusmemo;c:\delphilibs\pascal script\dcu\d28\win32;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Dcu\D29\Win32;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\DataSnap;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\Grijjy;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\Synapse;C:\DelphiLibs\RemObjects Software\RemObjects SDK for Delphi\Source\ZLib;C:\Program Files (x86)\RemObjects Software\Everwood\Bin;C:\DelphiLibs\CEF4Delphi-master\source;C:\Users\Jan\Documents\Embarcadero\Studio\23.0\CatalogRepository\QuickLib-2.2\;C:\Users\Jan\Documents\Embarcadero\Studio\23.0\CatalogRepository\QuickLogger-1.45\</DelphiLibraryPath>
        <DelphiBrowsingPath>$(BDS)\OCX\Servers;$(BDS)\SOURCE\VCL;$(BDS)\source\rtl\common;$(BDS)\SOURCE\RTL\SYS;$(BDS)\source\rtl\win;$(BDS)\source\rtl\win\winrt;$(BDS)\source\ToolsAPI;$(BDS)\SOURCE\IBX;$(BDS)\source\Internet;$(BDS)\SOURCE\PROPERTY EDITORS;$(BDS)\source\soap;$(BDS)\SOURCE\XML;$(BDS)\source\Indy10\Core;$(BDS)\source\Indy10\System;$(BDS)\source\Indy10\Protocols;$(BDS)\source\fmx;$(BDS)\source\databinding\components;$(BDS)\source\databinding\engine;$(BDS)\source\databinding\graph;$(BDS)\source\data;$(BDS)\source\data\ado;$(BDS)\source\data\cloud;$(BDS)\source\data\datasnap;$(BDS)\source\data\dbx;$(BDS)\source\data\dsnap;$(BDS)\source\data\vclctrls;$(BDS)\source\data\datasnap\connectors;$(BDS)\source\data\datasnap\proxygen;$(BDS)\source\DataExplorer;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\Common;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\Common\dunit;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\Common;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\DUnitProject;$(BDS)\source\DUnit\Contrib\DUnitWizard\Source\DelphiExperts\DUnitProject\dunit;$(BDS)\source\DUnit\src;$(BDS)\source\DUnit\tests;$(BDS)\source\Experts;$(BDS)\source\indy\abstraction;$(BDS)\source\indy\implementation;$(BDS)\source\indyimpl;$(BDS)\source\Property Editors\Indy10;$(BDS)\source\soap\wsdlimporter;$(BDS)\source\Visualizers;$(BDS)\source\DUnit\Contrib\XMLReporting;$(BDS)\source\DUnit\Contrib\XPGen;$(BDS)\source\data\rest;$(BDS)\source\data\firedac;$(BDS)\source\tethering;$(BDS)\source\DUnitX;$(BDS)\source\data\ems;$(BDS)\source\rtl\net;$(BDS)\source\FlatBox2D;$(DXVCL)\ExpressCore Library\Sources;$(DXVCL)\ExpressCommon Library\Sources;$(DXVCL)\ExpressGDI+ Library\Sources;$(DXVCL)\ExpressLibrary\Sources;$(DXVCL)\XP Theme Manager\Sources;$(DXVCL)\ExpressLayout Control\Sources;$(DXVCL)\ExpressPageControl\Sources;$(DXVCL)\ExpressEditors Library\Sources;$(DXVCL)\ExpressDocking Library\Sources;$(DXVCL)\ExpressBars\Sources;$(DXVCL)\ExpressOfficeCore Library\Sources;$(DXVCL)\ExpressSpreadSheet Core\Sources;$(DXVCL)\ExpressTile Control\Sources;$(DXVCL)\ExpressWizard Control\Sources;$(DXVCL)\ExpressSpreadSheet\Sources;$(DXVCL)\ExpressExport Library\Sources;$(DXVCL)\ExpressCharts\Sources;$(DXVCL)\ExpressScheduler\Sources;$(DXVCL)\ExpressQuantumTreeList\Sources;$(DXVCL)\ExpressVerticalGrid\Sources;$(DXVCL)\ExpressMemData\Sources;$(DXVCL)\ExpressSpellChecker\Sources;$(DXVCL)\ExpressDataController\Sources;$(DXVCL)\ExpressNavBar\Sources;$(DXVCL)\ExpressSkins Library\Sources;$(DXVCL)\ExpressPrinting System\Sources;$(DXVCL)\ExpressPivotGrid\Sources;$(DXVCL)\ExpressDBTree Suite\Sources;$(DXVCL)\ExpressOrgChart\Sources;$(DXVCL)\ExpressFlowChart\Sources;$(DXVCL)\ExpressMap Control\Sources;$(DXVCL)\ExpressQuantumGrid\Sources;$(DXVCL)\ExpressGantt Control\Sources;$(DXVCL)\ExpressRichEdit Control\Sources;$(DXVCL)\ExpressGauge Control\Sources;$(DXVCL)\ExpressPDFViewer\Sources;$(DXVCL)\ExpressEntityMapping Framework\Sources</DelphiBrowsingPath>
        <DelphiNamespaceSearchPath/>
        <DelphiDebugDCUPath>$(BDSLIB)\$(Platform)\debug</DelphiDebugDCUPath>
        <DelphiDLLOutputPath>$(BDSCOMMONDIR)\Bpl</DelphiDLLOutputPath>
        <DelphiHPPOutputPath>$(BDSCOMMONDIR)\hpp\$(Platform)</DelphiHPPOutputPath>
        <DelphiTranslatedLibraryPath>$(BDSLIB)\$(Platform)\release\$(LANGDIR)</DelphiTranslatedLibraryPath>
        <DelphiTranslatedDebugLibraryPath>$(BDSLIB)\$(Platform)\debug\$(LANGDIR)</DelphiTranslatedDebugLibraryPath>
        <DelphiTranslatedResourcePath>$(BDSLIB)\$(Platform)\release\$(LANGDIR)</DelphiTranslatedResourcePath>
    </PropertyGroup>
</Project>

这是在(32 位)对话框中:

Library path

我不知道您是否可以从外部更新该文件。如果您尝试,请确保 IDE 已关闭,因为 打开的 IDE 可能会干扰注册表设置


0
投票

信息位于

c:\Users\username\AppData\Roaming\Embarcadero\BDS\23.0\EnvOptions.proj

文件,但该文件由注册表中的值更新。 如果您对

EnvOptions.proj
文件进行任何更改,这些更改将会丢失。

在 RegEdit 中导航至:

Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\23.0\Library\

根据您想要使用这些路径的操作系统(在我的例子中是

Win32
),然后将该操作系统路径附加到上述路径的末尾。

在该路径的键中转到

Search Path
并右键单击,然后单击
Modify
。 所有路径都存储在
Value Data
字符串中。 您可以在此字符串中添加或删除它们。 每条路径均以分号
;
结尾。 没有回车符、换行符或任何其他特殊字符。 都是一长串,用分号分隔。

路径在该字符串中的顺序就是它在此列表中显示的顺序:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.