Tuesday, January 04, 2005

A lean mean Delphi machine

If you're using Delphi 2005 and you're not using custom registry configurations you're doing a lot of unnecessary waiting around for features to load that you aren't going to use. For instance if you're working on a Win32 project, you really don't want to be loading the ECO packages. Also some of the Delphi 2005 features are a little immature and preventing their packages from loading can improve the IDE stability immensely.

Custom registry configurations are an undocumented feature of Delphi that unbeknownst to us all have been available from Delphi 6 onwards. Corbin Dunn from Borland has probably provided the most detail about this useful feature. His instructions involve modifying the registry directly with RegEdit which can be a risky affair if you inadvertently delete the wrong keys.

I've been working with Erwien Saputra and together we've put together a utility that makes it easy and safe to create these custom configurations. It works by copying either your base configuration or another custom configuration and then lets you modify the new configuration safely.

Key to creating these custom configurations is knowing which packages and assemblies are required for which style of development. I've put together an article discussing the different Delphi 2005 packages and how they relate to Win32 VCL development. It's the first article in a series I'm working on. Subsequent articles will discuss the packages needed for VCL.NET, Winforms, ECO, C#, ASP.NET with Delphi, ASP.NET with C# etc. There's lots of gaps in my knowledge of these packages though so I'd love any feedback you can provide on their functions.


At 17 May 2005 21:32, Anonymous Anonymous said...

In case you don't know, but there is already a free tool that seems to do the same thing as your tool, and it works very well. It's called Delphi Configuration Manager, and you can find it here: "http://www.alphalink.com.au/~jed/dcm.htm "


Post a Comment

<< Home