Hello NG,

I have an IGWAccount2-Interface-pointer. The pointer is OK, I call with this pointer the method get_AddressBooks and I can read all addresses. But calling Release for the IGWAccount2-Interface, I get an GPF in a GW-DLL. This error occurs just with GW 8.02, my programm works fine with earlier GW-versions.
What can I do?

The code to obtain the IGWAccount2-Interface-pointer:

IGWSession *pIGWSession;
if(FAILED(CoCreateInstance(CLSID_GroupWare, NULL, CLSCTX_INPROC_SERVER |
CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER, IID_IGWSession, (void**)&pIGWSession)))
{
....
}

// Login
DIGWAccount2* pD_IGWAccount = NULL;
if(FAILED(pIGWSession->Login(m_vUserId, m_vCmdLine, m_vPassword, m_vWhenToPrompt, m_vReserved, (DIGWAccount**)&pD_IGWAccount)))

Thanks,
Konrad Schiemert