Hi,

I'm new to the C3PO Development, so I have some questions:

1) How do I know which Interface I have to use (DIID_DI... or IID_I...)
2) Is there any documentation on all the interfaces and which interface I have to retrieve to get other interfaces?
3) I only want to retrieve the number of the selected messages and the messages itself, but that fails:

IGWClientState* m_pIClientState;
IGWMessageList* pIGWMList;
long* nMails;

m_pIMgr->get_ClientState(&pIDisp);
hr = pIDisp->QueryInterface(IID_IClientState, (void**)&m_pIClientState);
pIDisp->Release();

m_pIClientState->get_SelectedMessages(&pIDisp);
hr = pIDisp->QueryInterface(IID_IGWMessageList, (void**)&pIGWMList);
pIDisp->Release();

// Here I get a GroupWise C3PO Command Error:
hr = pIGWMList->get_Count(nMails);


Sincerly,
Andy