Thema: Delphi FastMM5 konfigurieren

Einzelnen Beitrag anzeigen

Hobbycoder

Registriert seit: 22. Feb 2017
930 Beiträge
 
#10

AW: FastMM5 konfigurieren

  Alt 28. Dez 2022, 13:47
Hab's jetzt so:
Delphi-Quellcode:
program ThreadTest;

{$DEFINE FastMM_FullDebugMode}
{$DEFINE FastMM_FullDebugModeWhenDLLAvailable}
{$DEFINE FastMM_DebugLibraryStaticDependency}
{$DEFINE FastMM_EnableMemoryLeakReporting}

uses
  FastMM5,
  Vcl.Forms,
  ThreadTestMain in 'ThreadTestMain.pas{frmThreadTest},
  uSettings in 'uSettings.pas',
  uRWStream in 'uRWStream.pas',
  uMonitorData in 'uMonitorData.pas',
  uETAComWebserver in 'uETAComWebserver.pas',
  uGetDataFromComSvc in 'uGetDataFromComSvc.pas',
  uETADataWebserver in 'uETADataWebserver.pas',
  uMonitorLogging in 'uMonitorLogging.pas',
  MonLogList in 'MonLogList.pas{frmMonLogList};
{$R *.res}

begin
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TfrmThreadTest, frmThreadTest);
  Application.CreateForm(TfrmMonLogList, frmMonLogList);
  FastMM_SetEventLogFilename('D:\Projects\ETA-Monitor\Win32\Debug\MM.log');
  FastMM_EnterDebugMode;
  Application.Run;
end.
Keine Meldung, keine Logdatei
Gruß Hobbycoder
Alle sagten: "Das geht nicht.". Dann kam einer, der wusste das nicht, und hat's einfach gemacht.
  Mit Zitat antworten Zitat