On 03/09/2015 at 03:22, xxxxxxxx wrote:
Hi,
I didn't need a group user data, so I've changed it to the stuff I need, and it worked...
Here is my code:
DynamicDescription* ddesc = myObject->GetDynamicDescription();
if (!ddesc) return false;
DescID userDataID;
BaseContainer bc = GetCustomDataTypeDefault(DTYPE_REAL);
bc.SetString(DESC_NAME, "Left_Point");
bc.SetInt32(DESC_CUSTOMGUI, CUSTOMGUI_REAL);
bc.SetBool(DESC_MINEX, false);
bc.SetBool(DESC_MAXEX, false);
userDataID = ddesc->Alloc(bc);
EventAdd();
Thanks for setting me upon the right path!!