Re: Just installed Delphi 2007 April 08 patch...
- From: "dk_sz" <dk_sz@xxxxxxxxxxx>
- Date: Mon, 21 Apr 2008 15:34:13 +0200
{$DEFINE EnableMemoryLeakReporting}
the stack exception does not happen... Quite odd...
I would like to correct myself...
I am not sure April patch is alone / at-all to blame.
I tracked the problem down to Indy snapshot (few days old)
System.InitUnits;
{$IFDEF MSWINDOWS}
TProc(P)();
{$ENDIF}
IdStack.Initialization
{$IFDEF REGISTER_EXPECTED_MEMORY_LEAK}
IndyRegisterExpectedMemoryLeak(GStackCriticalSection);
{$ENDIF}
IdGlobal
{$IFDEF VCL10ORABOVE}
Result := System.RegisterExpectedMemoryLeak(AAddress);
{$ELSE}
*System.RegisterExpectedMemoryLeak* then calls itself recursively...
The reason is that since my FastMM options have not overriden
*MemoryManager.RegisterExpectedMemoryLeak* the call
calls itself again and again and again...
I am still wondering if perhaps April patch has
messed with some default define or...?
This is simply first time I have tried making a release build
without *EnableMemoryLeakReporting* since updating Indy.
Anyways, this is probably the wrong group! Sorry!
best regards
Thomas Schulz
.
- References:
- Just installed Delphi 2007 April 08 patch...
- From: dk_sz
- Re: Just installed Delphi 2007 April 08 patch...
- From: dk_sz
- Re: Just installed Delphi 2007 April 08 patch...
- From: dk_sz
- Just installed Delphi 2007 April 08 patch...
- Prev by Date: Re: Just installed Delphi 2007 April 08 patch...
- Next by Date: Re: Finding maximum of an array
- Previous by thread: Re: Just installed Delphi 2007 April 08 patch...
- Index(es):
Relevant Pages
|