Tuesday, February 17, 2004

Delphi 7 packages for using the Delphi 8 Win32 compiler.

OK... here's the scoop. I've just uploaded a new version of the Delphi 8 IDE Integration pack to code central. This version contains several Delphi 7 IDE packages recompiled to now target the Delphi 8 Win32 compiler. Included is instructions on how to install these files into your existing Delphi 7 installation. Please only download this if you have Delphi 8, since Delphi 7 is included with Delphi 8. Previous versions of Delphi are NOT supported, so don't even ask. Also note that this is provided strictly as-is, without any warranties, and is not guaranteed to be stable with the Delphi 7 IDE. If you follow the instructions in the readme, then these files should not render your Delphi 7 installation useless. I recommend only the advanced user attempt this.

OK, so where is it? Try here. Also, here's the text from the readme:

Installation instructions for IDE integration pack for Delphi 8.

NOTE: This software is provided AS-IS. No support of any kind will
be provided by Borland or any of its agents. Use at your own risk.

This software is manually installed into an existing Delphi 7 installation.

Part I - Getting the files

1. Open a command prompt window (COMMAND.COM or CMD.EXE).
2. cd "Program FilesBorlandDelphi7" (or wherever you've installed Delphi).
3. Unzip the contents of the ZIP file into this directory *including the
path information*.
4. Two directories should be created, d8bin and d8lib.
5. cd d8bin
6. Copy ..bindelphi32.exe .

Part II - copying and modifying IDE settings.

NOTE: Editing the registry can be dangerous. Perform the following very carefully.

1. Run RegEdit.exe
2. Open key HKEY_CURRENT_USERSoftwareBorlandDelphi7.0
3. Select File|Export.
4. Export this key to a filename of your choice (like Delphi7.reg).
5. Select the "7.0" key and press F2 (or right-click and select "Rename").
6. Change the 7.0 to 7.1
7. Select File|Import.
8. Select the filename previously saved in step 4.
9. Open HKEY_CURRENT_USERSoftwareBorlandDelphi7.1Known IDE Packages
10. Rename value-name $(DELPHI)bindelphide70.bpl to $(DELPHI)d8bindelphide70.bpl
11. If present, Rename value-name $(DELPHI)bindelphipro70.bpl to
$(DELPHI)d8bindelphipro70.bpl

Part III - Copying and modifying Integrated debugger evaluator settings.

1. Run RegEdit.exe
2. Open key HKEY_CURRENT_USERSoftwareBorlandDebugging7.0
3. Select File|Export.
4. Export this key to a filename of your choice (like Debugging.reg).
5. Select the "7.0" key and press F2 (or right-click and select "Rename").
6. Change the 7.0 to 7.1
7. Select File|Import.
8. Select the filename previously saved in step 4.
9. Open HKEY_CURRENT_USERSoftwareBorlandDebugging7.1Evaluators if present.
10. Rename value-name dcc70.dll to dcc71.dll

PART IV - Create shortcut and updating options

1. Create a new shortcut that runs the Delphi32.exe from the
"Program FilesBorlandDelphi7d8bin" directory.
2. Run Delphi32 from the d8bin directory.
3. Select Tools|Environment Options|Library.
4. Change the $(DELPHI)Lib directory entry to $(DELPHI)d8Lib.

----- ONLY CREATE PACKAGES -----

These instructions for integrating the Delphi 8 Win32 compiler into Delphi 7 are
only intended for the user to create add-in components for the Delphi 8 IDE Only.
These add-ins *must* be created as a package. You can, however use the Delphi 7
IDE to build and debug these add-ins by creating a package project and setting
the host application to be the Delphi 8 IDE. Pursuant to the Delphi 8 license,
you may *NOT* redistribute *any* run-time packages that are included with Delphi 8.
What this means is that you cannot create an application based on this compiler
and distribute it as a stand-alone product. You can only create an application
designed to integrate with the Delphi 8 IDE.