我使用FastMM4在FullDebugMode查找內存泄漏,而且我得到了很多的抱怨UnicodeString,TList,TParameters等情況下是這樣的: A memory block has been leaked. The size is: 276
This block was allocated by thread 0x2928, and the stack trace (ret
讓我們開始下D2010 codded簡單的代碼: var
StringList: TStringList;
begin
ReportMemoryLeaksOnShutdown := True;
StringList := TStringList.Create;
StringList.LoadFromFile('c:\fateh.txt');
Re