Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 248261
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:19:41+00:00 2026-05-11T21:19:41+00:00

How I can install multiple versions of a library in Delphi or C++Builder? For

  • 0

How I can install multiple versions of a library in Delphi or C++Builder? For example, I might want to be able to develop the next version of our app using the current versions of JCL and JVCL while still being able to compile the release version of our app using whatever version of JCL and JVCL were tested for that release.

Using more than one version of a library is easy with libraries like Boost, since those are just header files and library / DLL files that I can put wherever I want, and so I can simply point my project files at the appropriate library directories. However, since libraries like JCL and JVCL try to install themselves into the IDE, I’m not sure how to configure different projects to use different versions without it turning into an unmanageable hack.

(I’m still not entirely familiar with how Delphi manages components and projects – most of my experience is in C++ – so this may be part of my problem.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:19:42+00:00Added an answer on May 11, 2026 at 9:19 pm

    We had the same problem, supporting older versions compiled with different versions of the components. Our solution was/is to use the IDE’s ” -r ” command line option. With this switch it is possible to use different library paths and packages (at the same time). The only problem that we encountered with this approach was that some of us regularly tried to open an older project version in the wrong IDE instance.

    [Old version 1.0] bds.exe -rVersion1.0
    [trunk version  ] bds.exe
    

    How to setup those:

    1. Start your IDE as you are used to it.
    2. Install everything you need for “Version 1.0”
    3. Close the IDE
    4. Install all (old) packages (JCL/JVCL/…)
    5. Start regedit.exe
    6. Export the registry key HKCU\Software\CodeGear\BDS\5.0 to a *.reg file
    7. Start nodepad.exe and do a search&replace in the *.reg file for “CodeGear\BDS\5.0” and replace it with “CodeGear\Version1.0\5.0”
    8. Import the *.reg file (by double clicking it in the Windows Explorer)
    9. Create a copy of your RAD Studio 2007 startmenu link and change the command line to include the “-rVersion1.0” key.

    Now you have two IDE configurations that are equal. You can now change the IDE that doesn’t use the ” -r ” command option to your trunk version’s packages.
    When you install all the packages, you must not use the default BPL and DCP directories unless the different package versions use different file names (like the JCL and JVCL do).

    CodeGear\BDS\5.0 = Delphi 2007
    CodeGear\BDS\6.0 = Delphi 2009
    Borland\BDS\4.0 = Delphi 2006
    Borland\Delphi\7.0 = Delphi 7
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

SQL Server express editions have memory limit of 1GB. Can I install multiple versions
If you install multiple versions of python (I currently have the default 2.5, installed
I have some components ( alpha controls ) I can install them to Delphi
I would like to know if I can install say Visual Studio 2008 Pro
How can i find out this information? Ie, I can install boost 1.35 with
I have a standard .NET windows service written in C#. Can it install itself
What install tool can I use to create Virtual Directory on IIS? OpenSource, free
Can I safely download and install .Net framework 3.5 SP1 without requiring my customers
I'm trying to install some Ruby Gems so I can use Ruby to notify
Where can I find a good reference that explains how to write and install

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.