I am using the Microsoft Office 11.0 Object library to connect to outlook. My code is as follows:
[code=cpp]
_ApplicationPtr application("Ou tlook.Applicati on");
CComPtr<_NameSp ace> ns;
CComPtr<_NameSp ace> session;
hr = application->GetNamespace(C ComBSTR("MAPI") ,&session.p);
if(hr != S_OK) return hr;
hr = application->get_Session(&s ession.p);
...
User Profile
Collapse
-
Outlook fails to connect to Exchange Server profile
Last edited by sicarie; Oct 20 '07, 07:55 PM. Reason: Code tags are to the right when creating/replying to a post. Please use them.
No activity results to display
Show More