How to restart Outlook.exe from within C++ plugin written for Outlook MAPI
Mahesh Amarelia
1
Reputation point
Hi There
I have my plugin for outlook written in MAPI C++.
There is one requirement wherein if user does GAL delete, I want to clear the cache of outlook for which there is a switch /CleanAutoCompleteCache which will clear the whole AutoComplete list of outlook as per Microsoft site.
Question is, when my I detect from within a code that someone has deleted GAL and I'll have to restart outlook.exe by supplying /CleanAutoCompleteCache switch, how to restart outlook.exe from within my C++ code?
Any help will be appreciated. Any other way to achieve it?