Further to using MemCheck for the first time today, I can't get it to
work (with or without FastMM).
function ltgmCallerIsNewAnsiString: boolean;
//Tells if the guy who called GetMem is NewAnsiString
asm
cmp ebp, 0 //this can happen when there are no stack frames
je @@no
{$IFNDEF DELPHI71_OR_LATER}
mov eax, [EBP + 12]
{$ELSE}
mov eax, [EBP + 16] <<< Access Violation
{$ENDIF}
sub eax, 17
Any ideas?
Ross.
----- Original Message -----
From: "Ross Levis" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[email protected]>
Sent: Monday, December 12, 2005 10:02 PM
Subject: FastMM
With all this talk about FastMM, I've changed over to using it now in
D7. In the first app I tried it on, it reports a dozen small memory
leaks, whereas MemCheck says there are none.
The problem is I can't work out how to get any details on the leaks.
I've added defines for FullDebugMode, LogErrorsToFile, and
LogMemoryLeakDetailToFile, but I can't find a file anywhere.
Ross.
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi