Do not pass the variable
Brought to you by:
pierre_le_riche
Do not pass the variable in code:
AMemoryManagerState.SmallBlockTypeStates[LInd].InternalBlockSize :=
SmallBlockTypes[LInd].BlockSize;
SmallBlockTypes[LInd].BlockSize = 253
Result: InternalBlockSize = 0 // Bug???
Sample Delphi Debug Image:
http://img291.imageshack.us/my.php?image=33096427ak9.jpg
ShareMM params:
{$define ShareMM}
{.$define ShareMMIfLibrary}
{$define AttemptToUseSharedMM}
{$define EnableBackwardCompatibleMMSharing}
Project source:
http://rapidshare.com/files/196268168/Test.rar.html
And on this issue will be resolved?
I don't understand what the problem is. As far as I can tell, the code you're referring to works correctly.
Regards,
Pierre
Here http://avenger.exi-bank.ru/dl/Test.rar are examples. One is working correctly, the second does not work correctly.
I can't compile the examples you gave, because it uses 3rd party components.