printf( "Object i : %s\n", ObjcString( tree, i, NULL), i); strcpy( ObjcString( tree, i, NULL), "New text");It is possible to define a new buffer for the object:
char txt[120] = "New text"; ObjcString( tree, i, txt);ObjcString() should never be used to change the text of an menu item. For that purpose, use MenuText() instead of ObjcString().