1. Computing & Technology

Discuss in my forum

Making Delphi 2005 independent from .NET

How to save memory and fasten the load time

By , About.com Guide

Once you have remove the dependency on .NET from Delphi 2005, here's how to speed it up.

For further optimization, I suggest that you deactivate the design-time packages that you never use (this has no relation with .NET, but it's always useful in order to save memory and load time):

  1. Run Delphi 2005 and go to Component->Install Packages...
  2. Uncheck all those packages that you never use. I use to leave "Borland Standard Components", "Borland Database Components" and little more.
  3. Check the Default checkbox and click OK.

NOTE: You can activate/deactivate packages as many times as you want. Just be aware that the IDE always give more precedence to HKEY_CURRENT_USER than to HKEY_LOCAL_MACHINE. i.e.:

if (HKEY_CURRENT_USER\Software\Borland\BDS\3.0 exists) then
   it is used (and HKEY_LOCAL_MACHINE\Software\Borland\BDS\3.0 is ignored)
else
   it is copied from HKEY_LOCAL_MACHINE\Software\Borland\BDS\3.0

For a more detailed look, visit "Delphi 8/2005 Tips, Tricks and Speed Improvements"

That's it! Now you have Win32_ONLY Delphi 2005!

©2012 About.com. All rights reserved.

A part of The New York Times Company.