Delphi - mexendo com as units em tempo de compilação |
Top Previous Next |
Question/Problem/Abstract:
Mostly it so happens that your project would take some time to compile and you are totally stranded since the IDE does not allow you to perform any operations - like you could probably want to open another file in a different project and start working on it or even you might just want to open a code you downloaded from Delphi 3000 :) and want to see how things are implemented etc.,
The answer for all this is to enable Background compilation.
However the IDE does not support enabling this option and a small tweak has to be done.
Answer:
It is possible to enable Background compilation in Delphi 5.0. The advantage of this is that it allows you complete access to the editor and the menus. However, some care must be taken to ensure that you donot crash Delphi 5.0 - and one of them is - donot close the project you are compiling.
Here is the way to enable BC:
a) Open registry b) Open key HKEY_CURRENT_USER\SOFTWARE\BORLAND\DELPHI\5.0\COMPILING c) You will find an indentifier - BackgroundCompilation. Set the value to 1.
|