08 September 2011

Help with Delphi XE2 program paths please

I've just updated CodeSnip to v3.9.0 to allow code snippets to be test compiled by Delphi XE2 (32 bit only).

But I've had to make some educated guesses in adding that support because I don't yet have XE2. I'm hoping you can help by either confirming or correcting the following assumptions:
  •  The registry key \Software\Embarcadero\BDS\9.0 exists in the HKEY_LOCAL_MACHINE hive.
  • The registry key contains a string value named RootDir that has a string value that provides Delphi XE2's installation path.
  • The 32 bit compiler is located in the Bin sub-directory of the installation path and is named DCC32.exe.
The new version of CodeSnip depends on these assumptions being true!

Further, I'd like to add support for the 64 bit compiler. To do this I need to know what the file name is (is it DCC64.exe?) and where it's located.

If you can help please do so via comments or by contacting me via my website contact page.