hi,this is my code ,i save data in node ,but can't read successlly ,just display 0. Where did I go wrong?
Bool TagTest::Read(GeListNode * node, HyperFile * hf, Int32 level)
{
BaseTag* op = (BaseTag*)node;
BaseContainer* bc = op->GetDataInstance();
ApplicationOutput("Read count: @ ", bc->GetInt32(12345));
return SUPER::Read(node, hf, level);
return true;
}
Bool TagTest::Write(GeListNode * node, HyperFile * hf)
{
BaseTag* op = (BaseTag*)node;
BaseContainer* bc = op->GetDataInstance();
bc->SetInt32(12345,123);
ApplicationOutput("Write count: @ ", bc->GetInt32(12345));
return SUPER::Write(node, hf);
return true;
}
Hope your help.