Menu

#35 Do not pass the variable

open
nobody
None
5
2009-02-10
2009-02-10
Anonymous
No

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

Discussion

  • Nobody/Anonymous

    And on this issue will be resolved?

     
  • Pierre le Riche

    Pierre le Riche - 2009-03-24

    I don't understand what the problem is. As far as I can tell, the code you're referring to works correctly.

    Regards,
    Pierre

     
  • Nobody/Anonymous

    Here http://avenger.exi-bank.ru/dl/Test.rar are examples. One is working correctly, the second does not work correctly.

     
  • Pierre le Riche

    Pierre le Riche - 2009-03-27

    I can't compile the examples you gave, because it uses 3rd party components.

     

Log in to post a comment.

MongoDB Logo MongoDB