spetric
Croatia
308 Posts |
Posted - Apr 04 2014 : 13:59:51
|
Hi,
Currently, I'm storing some pointer values inside vector's ObjID property. This information tells the program which class is "in charge" for specific vectorial objects. One class can be "in charge" for several vectorial objects, so this information comes very handy when translating or rotating vectorial objects with respect to some ObjId.
As ObjID is of type integer, in 64-bit environment, integer value is not sufficient to hold pointer values.
Is it safe to use ObjUserData? I'm worried about using ObjUserData as in documentation is stated: "Load/save and clipboard methods save this field allocating the buffer when needed and freeing it when an object is destroyed."
What does it mean?
|
|