Can any one say how to pass "TDOLE_SUBJECT" as a parameter for RootList of TreeManager class
Below is the code:
Set TreeMgr = tdc.TreeManager
Set Trees = TreeMgr.RootList(TDOLE_SUBJECT)
I have also attached the Error which I getting
Unable to cast COM object of type 'TDAPIOLELib.ListClass' to interface type 'TDA
PIOLELib.SubjectNode'. This operation failed because the QueryInterface call on
the COM component for the interface with IID '{0F500A37-F2F1-4079-9BE7-48C1DA715
E27}' failed due to the following error: No such interface supported (Exception
from HRESULT: 0x80004002 (E_NOINTERFACE)).