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.

Comments

  1. Anonymous11:04 pm

    1. On my computer, registry key exists in HKEY_CURRENT_USER
    2. yes
    3. yes

    File name for 64bit compiler is dcc64.exe and is located in the same "bin" subdirectory.

    ReplyDelete
  2. Thanks for that - I'll make some changes to look in HKEY_CURRENT_USER as well as HKEY_LOCAL_MACHINE.

    Could anyone also help with a new problem concerning CodeSnip and Delphi XE2 - please see my later post about this.

    ReplyDelete
  3. I've just released v3.10.3 of CodeSnip which makes the promised fix concerning looking for Delphi compilers in HKEY_CURRENT_USER, which it does if searching in HKEY_LOCAL_MACHINE fails.

    You can get the new version at http://delphidabbler.com/software/codesnip/download.

    The same fix will be applied to the forthcoming CodeSnip 4 beta.

    ReplyDelete

Post a Comment

Comments are very welcome, but please don't comment here if:

1) You have a query about, or a bug report for, one of my programs or libraries. Most of my posts contain a link to the relevant repository where there will be an issue tracker you can use.

2) You have a query about any 3rd party programs I feature, please address them to the program's developer(s) - there will be a link in the post.

3) You're one of the tiny, tiny minority who are aggressive or abusive - in the bin you go!

Thanks

Popular posts from this blog

Focus On: Deleaker - a Delphi, C++ & C# Memory Leak Detector

Embarcadero Announce RAD Studio 11 Is Coming

Some Features of the Upcoming Delphi 11 (probably)