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:
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.
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.
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.
1. On my computer, registry key exists in HKEY_CURRENT_USER
ReplyDelete2. yes
3. yes
File name for 64bit compiler is dcc64.exe and is located in the same "bin" subdirectory.
Thanks for that - I'll make some changes to look in HKEY_CURRENT_USER as well as HKEY_LOCAL_MACHINE.
ReplyDeleteCould anyone also help with a new problem concerning CodeSnip and Delphi XE2 - please see my later post about this.
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.
ReplyDeleteYou can get the new version at http://delphidabbler.com/software/codesnip/download.
The same fix will be applied to the forthcoming CodeSnip 4 beta.