Set the treenode with the properties of COM object.
BOOL GetCOMObjectProperties( Object * pObj, TreeNode * ptr, BOOL bExcludeArrayElement = TRUE )
true if success
EX1
//it shows the created object, but gets none property from the object. void GetCOMObjectProperties_ex1() { Object obj = CreateObject("Word.Application"); obj.Visible = true; Tree trProperty; if ( GetCOMObjectProperties(&obj, &trProperty )) { out_tree(trProperty); } else { out_str("failed to get properties of COM object to treenode!"); } }
origin.h