我的程序需要自动生成Delphi 的项目并且编译运行,
这是用我的DelphiPrj类生成的项目文件
program TStackArchitecture;
uses
Forms,
SysUtils,
c2framework in 'D:/dcom/project/fw/c2framework.pas',
BaseType in 'D:/dcom/project/fw/BaseType.pas',
C2Graphics.pas in 'D:/dcom/project/fw/C2Graphics.pas' {C2ViewPort},
C2Utils in 'D:/dcom/project/fw/C2Utils.pas',
Globals in 'D:/dcom/project/fw/Globals.pas',
HashTable in 'D:/dcom/project/fw/HashTable.pas',
MyStrUtil in 'D:/dcom/project/fw/MyStrUtil.pas',
StrUtils in 'D:/dcom/project/fw/StrUtils.pas',
StackArch in 'D:/dcom/source/comp/StackArch.pas';
var
TStackArchitecture_instance:TStackArchitecture;
{$R *.res}
begin
Application.Initialize;
Application.Run;
TStackArchitecture_instance:=TStackArchitecture.Create;
TStackArchitecture_instance.Start;
end.
end.
很奇怪, 会抱许多错误,
都是我以前没有见过的,
我在生成文件的时候用#13#10没有关系吧,