Discussion:
CDO in C++: Should i release all CDO objects before logoff?
(too old to reply)
Vishnu
2006-11-06 12:50:49 UTC
Permalink
Hello,

Should i release all CDO objects before logoff?
Consider i have opened Session, Folder and AppointmentItem.
Should i call Folder->Release(), AppointmentItem->Release() before
logoff and finally Session->Release()?
Will logoff delete profile?

Thanks
Vishnu
Dmitry Streblechenko
2006-11-06 16:51:43 UTC
Permalink
That would be a good idea. From my experience, EX and PST providers do not
really care if you release their objects after IMAPISession::Logoff() is
called. But the objects from the BMC store provider will likely produce an
error.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Post by Vishnu
Hello,
Should i release all CDO objects before logoff?
Consider i have opened Session, Folder and AppointmentItem.
Should i call Folder->Release(), AppointmentItem->Release() before
logoff and finally Session->Release()?
Will logoff delete profile?
Thanks
Vishnu
Loading...