Installing multiple versions of a library in Delphi / C ++ Builder

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

Using multiple versions of the library is easy with libraries such as Boost, because these are just header files and libraries / DLL files that I can put wherever I want, and therefore I can simply specify project files in the corresponding library directories. However, since libraries such as JCL and JVCL are trying to install themselves in the IDE, I’m not sure how to configure different projects to use different versions without turning them into an unmanaged hack.

(I'm still not quite familiar with how Delphi manages components and projects - most of my experience is with C ++), so this may be part of my problem.)

+3
source share
1 answer

, , . /IDE "-r". ( ). , , , IDE.

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

:

  • IDE, .
  • , 1.0.
  • IDE
  • () (JCL/JVCL/...)
  • regedit.exe
  • HKCU\Software\CodeGear\BDS\5.0 *.reg
  • nodepad.exe *.reg "CodeGear\BDS\5.0" "CodeGear\Version1.0\5.0"
  • *.reg( Windows)
  • RAD Studio 2007 -rVersion1.0.

IDE. IDE, -r, . , BPL DCP , (, JCL JVCL).

CodeGear\BDS\5.0 = Delphi 2007
CodeGear\BDS\6.0 = Delphi 2009
Borland\BDS\4.0 = Delphi 2006
Borland\Delphi\7.0 = Delphi 7
+6

Source: https://habr.com/ru/post/1710511/


All Articles