Page 1 of 1

COM Object

Posted: Thu Feb 12, 2015 2:21 pm
by etwoss
Hi

because i still have problems with access violations when compiling 64 Bits i did some tests with simple app's using 64 Bits.
They all work fine!

So i wondered if the fact that i'm using it in a 64 Bits COM object could be the problem.
Our 32 Bits COM server does not have these problems.

Do you have heard off this?

The access violation is on TXLSMMUVectorManager.GetItemsBlockSize
Eric

Re: COM Object

Posted: Thu Feb 12, 2015 2:46 pm
by etwoss
Hi

Found the problem in:

function TXLSMMUVectorManager.MemorySize: integer;

changed:
Result := Integer(PXVectHeader(FVector).OffsetToLastEq) + GetItemsBlockSize(TMMUPtr(LongWord(FVector) + PXVectHeader(FVector).OffsetToLastEq));
To
Result := Integer(PXVectHeader(FVector).OffsetToLastEq) + GetItemsBlockSize(TMMUPtr(Int64(FVector) + PXVectHeader(FVector).OffsetToLastEq));

Re: COM Object

Posted: Mon Feb 16, 2015 9:40 am
by larsa
Hello

Thank you. Will include the fix in the next update.