Explore Public Snippets
Found 1 snippet matching: madexcept
1 0 2 0by StackOverflow modified Jun 16, 2017
"ReportMemoryLeaksOnShutdown" not working in Delphi 10.2 Tokyo?
/* If you run the console application from cmd window it will show the appropriate message about the memory leak. The behavior of the memory leak report changed and the MessageBox is displayed for windowed applications, while console applications get the message in console. In Delphi XE2 there was single MessageBoxA in ScanForMemoryLeaks procedure. In Delphi 10.2 there is custom procedure ShowMessage(AMessage, ATitle: _PAnsiChr); which calls alternatively WriteConsoleFile or MessageBoxA. So it is designed, not the bug (IMHO). Compare the discussion: Reporting memory leaks on shutdown with a console application */