Du kannst das *.dpr auch im Notepad erstellen und dann den dcc32.exe Compiler verwenden.
Beisp.
Delphi-Quellcode:
program Project1;
{$APPTYPE CONSOLE}
uses
SysUtils;
begin
WriteLn('Hello world');
end.
Das ganze wird nun als
hello.dpr in
C:\TEMP gespeichert.
Mit folgenden Befehl wird daraus eine Exe:
(Angenommen Delphi ist in
C:\Programme\Borland\Delphi7 installiert)
Code:
c:
cd \temp
C:\Programme\Borland\Delphi7\bin\dcc32.exe Project1.dpr -uc:\Programme\Borland\Delphi7\lib
Damit wird eine
hello.exe erzeugt.
Fertig.