Hello all.
I see that Marshal.AllocHGlobal is always returning memory in a 32 bit
memory address.
Can I be assured that this will always be the case?
Thanks.
Assaf
> Hello all.
>
[quoted text clipped - 5 lines]
>
> Assaf
The address returned is a 64 bit value. The memory manager will return an
address that is below 4GB as long as there is free space below 4GB, however,
there is no hard guarantee that you would never get an address back that is
> 4GB, so, I would not count on it.
Just curious, why do you need to know that? If you want the guaranteed to
get an address back that is < 4GB, you should compile for 32 bit.
Willy.