Forget getting an Inspector from CDO or Simple MAPI. No Inspector is
created. In fact, CDO doesn't even know about any UI at all.
MAPI Send or SendTo is a big problem for COM addins. A properly
written COM addin will not initialize if no Outlook Explorers are
present and Outlook is started. Otherwise Outlook will end up hanging
in memory and your COM addin will never release its objects. The
ItemsCB COM addin sample on the Resources page at
www.microeye.com
shows the standard and best practices workarounds for that situation.
Steve said:
I created a com addin in outlook 2002 that should create a menu-item
in the Inspector window. In normal cases it works fine, but when i
call Send or Send_to from other office programs or I use
CDO/Simplemapi calls, the NewInspector event doesn't fire. Does anyone
know to solve this problem?