TreeNode; Node->Item->Data
AnsiString data = DirADODataSet->FieldByName("ArrKnow")->AsString;
Node = DirTrView->Items->AddChild(DirTrView->Items->Item[2],data);
Node->Item->Data = reinterpret_cast<void*>(DirADODataSet->FieldByName("IdArrKnow")->AsInteger);
При такой записи выдается ошибка:
[C++ Error] Dir.cpp(58): E2193 Too few parameters in call to '_fastcall TTreeNode::GetItem(int)'