工程判断内存溢出ReportMemoryLeaksOnShutdown := True;

工程判断内存溢出

ReportMemoryLeaksOnShutdown := True;

program Project1;

uses
  Vcl.Forms,
  Unit1 in 'Unit1.pas' {Form1};

{$R *.res}

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  ReportMemoryLeaksOnShutdown := True;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
 

猜你喜欢

转载自blog.csdn.net/ozhy111/article/details/88530284
今日推荐