5/26/2023 0 Comments Download borland delphi 5.0![]() ![]() The path to the required data differs for each version of Delphi, but is the same for each root key. When installed for all users the information we want is under the HKEY_LOCAL_MACHINE root key, but if installation was for only the current user we need to look in HKEY_CURRENT_USER. That depends on whether Delphi / RAD Studio was installed just for the current user or for all users of the machine. Lets see where Delphi install information is stored in the registry. ![]() Find valid Delphi installations Enumerate registry keysįirst things first. In the main you may need to move all variable declarations out of the body of the code into a var section at the top of each routine. The code uses features of the later Delphi compilers and will not compile on older version without change. ![]() Note for users of older Delphi compilers: The example code in this article was written and tested in Delphi 11 Alexandria. In the meantime, you can see some code that does this in my CodeSnip program source. If you want another article about how to do that, just ask ( see Feedback below). Actually executing the compiler from within your program, in a meaningful way, is beyond the scope of this article.
0 Comments
Leave a Reply. |