GlobalMem for objects

Started by Christian Weilguny, October 01, 2012, 02:07:25 PM

Previous topic - Next topic

Christian Weilguny

Hi,

is there a way to put an object to memory allocated by GLOBALMEM or GlobalAlloc?
I have not found a way to get the size of an existing object, too.

Thanks for helping

Christian

José Roca

No. Objects allocate/deallocate its own memory. Also, I don't see the purpose of doing such a thing.

Christian Weilguny

Jose wrote:
QuoteAlso, I don't see the purpose of doing such a thing.

I have a custom control for FF 3.10.This control need a RecordSet for each instance. There is the possibility to make a variant-array and put the Recs in this array and store the index in the extra window data. But this is not very smart. More sophisticated would be, to create a memory-block for the RecordSet and store the pointer to the extra window data.

Christian