Compile after deleting additional .PAS file
Posted: Thu May 28, 2015 9:11 am
Some advice please.
With older versions of Delphi it was possible to create a unit file and after compiling it to .DCU delete the .pas file.
Then one can continue to use the "objects" as created in the deleted pas file.
With the newer versions if I delete the pas file the application does not want to compile and gives me the following error:
[dcc32 Fatal Error] xxxxx.pas(7): F2063 Could not compile used unit 'xxx.pas'
I do not want to "recompile" the DCU.
With older versions of Delphi it was possible to create a unit file and after compiling it to .DCU delete the .pas file.
Then one can continue to use the "objects" as created in the deleted pas file.
With the newer versions if I delete the pas file the application does not want to compile and gives me the following error:
[dcc32 Fatal Error] xxxxx.pas(7): F2063 Could not compile used unit 'xxx.pas'
I do not want to "recompile" the DCU.