D
DenisSSSS
Hi.
I have cached exchange profile. When I create Outlook::Application and
displays it the exchange security window appears. User has to enter exchange
login and password. However the code continues execution and I quit from
Outlook application but exchange window still displays and Outlook still in
memory. Please, see code below
Outlook::_ApplicationPtr ol_app =
Outlook::_ApplicationPtr(L"Outlook.Application");
// exchange window appears after that line
ol_app->GetNamespace(L"MAPI")->GetDefaultFolder(Outlook:lFolderInbox)->Display();
ol_app->Quit();
//the Outlook window is closed but exchange window is still displayed and
Outlook process in memory.
Is it possible to close OL in such way that exchange window would be closed
as well. And Outlook would be removed from memory?
I have cached exchange profile. When I create Outlook::Application and
displays it the exchange security window appears. User has to enter exchange
login and password. However the code continues execution and I quit from
Outlook application but exchange window still displays and Outlook still in
memory. Please, see code below
Outlook::_ApplicationPtr ol_app =
Outlook::_ApplicationPtr(L"Outlook.Application");
// exchange window appears after that line
ol_app->GetNamespace(L"MAPI")->GetDefaultFolder(Outlook:lFolderInbox)->Display();
ol_app->Quit();
//the Outlook window is closed but exchange window is still displayed and
Outlook process in memory.
Is it possible to close OL in such way that exchange window would be closed
as well. And Outlook would be removed from memory?