THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/09/2004 at 15:31, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.503
Platform: Windows ;
Language(s) : C++ ;
---------
_For example:
LONG size;
void *data=NULL;
ok=ReadMemory(&data;,&size;);
GeFree(data);
The memory used data must be free afterwards using GeFree()._
This is what the documentation says. So, how does one store the data? Must I allocate the block first, copy data to it, and then delete 'data'? This example makes no sense whatsoever. My TagData has storage for the memory block (which is an array and must be allocated and filled).
I'm going to continue asking questions until these darned PluginTags (and associated headaches) start making sense.
Thanks,
Robert