P
peter
I created a Com-Addin base on the outlook, below code works well in the
outlook2003, but in the outlook2007, it will throw an exception from the
first line. And this piece of code is called in the onconnection() method
inherit from the interface IDTExtensibility2.
HRESULT hr =
m_inspectors->QueryInterface(__uuidof(IConnectionPointContainerPtr),
(void**)&pCPCtr);
pCPCtr->FindConnectionPoint(IID_IInspectorsEvents, &m_inspectorsEvents));
m_inspectorsEvents->Advise(this, &m_inspectorsEventsCookie));
MSOUTL9.OLB(outlook 2000 library) is imported, do I need to change it to 07
library to support outlook07? Where can I find the office 07 library? I try
to find it under the office12 folder, but I didn't get it.
outlook2003, but in the outlook2007, it will throw an exception from the
first line. And this piece of code is called in the onconnection() method
inherit from the interface IDTExtensibility2.
HRESULT hr =
m_inspectors->QueryInterface(__uuidof(IConnectionPointContainerPtr),
(void**)&pCPCtr);
pCPCtr->FindConnectionPoint(IID_IInspectorsEvents, &m_inspectorsEvents));
m_inspectorsEvents->Advise(this, &m_inspectorsEventsCookie));
MSOUTL9.OLB(outlook 2000 library) is imported, do I need to change it to 07
library to support outlook07? Where can I find the office 07 library? I try
to find it under the office12 folder, but I didn't get it.