![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Has anybody else had trouble with a COM Addin causing Outlook 2007 to hang or
perform slowly while typing in the message body of an e-mail? The problem ocurrs intermittently and seems to go away if we turn off our COM Addin. It appears to be something that OL2007 introduced and our addin is exasperating....however our code does nothing that should interefere with typing in a new email or reply email. Our addin was written using VB6 and Outlook 2000. When I tried to run the project in the VB IDE on a machine that has Outlook 2007 I was indundated with various bogus errors about binary compatability and returns types and arguement types in various public functions had been changed. I had to create my own Type Enums and declare EVERY outlook constant I used and turn EVERYTHING into objects and remove the reference to Outlook to get around the problem. Has anyone run into this as well? |
Ads |
#2
|
|||
|
|||
![]()
I haven't seen that problem with any of my addins, most of which are written
using VB 6 and the Office/Outlook 2000 object models and library references. The only reason I ever see any errors about binary compatibility is if I compile an addin on an Outlook 2007 or 2003 dev machine and then re-compile the same binary back on the Outlook 2000 dev machine. The Outlook/Office 2000 object models are fully compatible with Outlook 2007, you just don't get any of the later additions unless you late bind them. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mikey" wrote in message ... Has anybody else had trouble with a COM Addin causing Outlook 2007 to hang or perform slowly while typing in the message body of an e-mail? The problem ocurrs intermittently and seems to go away if we turn off our COM Addin. It appears to be something that OL2007 introduced and our addin is exasperating....however our code does nothing that should interefere with typing in a new email or reply email. Our addin was written using VB6 and Outlook 2000. When I tried to run the project in the VB IDE on a machine that has Outlook 2007 I was indundated with various bogus errors about binary compatability and returns types and arguement types in various public functions had been changed. I had to create my own Type Enums and declare EVERY outlook constant I used and turn EVERYTHING into objects and remove the reference to Outlook to get around the problem. Has anyone run into this as well? |
#3
|
|||
|
|||
![]()
I created a Com-Addin base on the outlook,MSOUTL9.OLB(outlook 2000 library)
is imported. 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(IConnectionPointContainer Ptr), (void**)&pCPCtr); pCPCtr-FindConnectionPoint(IID_IInspectorsEvents, &m_inspectorsEvents)); m_inspectorsEvents-Advise(this, &m_inspectorsEventsCookie)); Do you think it is a compatibilty problem? Any advice? "Ken Slovak - [MVP - Outlook]" wrote: I haven't seen that problem with any of my addins, most of which are written using VB 6 and the Office/Outlook 2000 object models and library references. The only reason I ever see any errors about binary compatibility is if I compile an addin on an Outlook 2007 or 2003 dev machine and then re-compile the same binary back on the Outlook 2000 dev machine. The Outlook/Office 2000 object models are fully compatible with Outlook 2007, you just don't get any of the later additions unless you late bind them. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mikey" wrote in message ... Has anybody else had trouble with a COM Addin causing Outlook 2007 to hang or perform slowly while typing in the message body of an e-mail? The problem ocurrs intermittently and seems to go away if we turn off our COM Addin. It appears to be something that OL2007 introduced and our addin is exasperating....however our code does nothing that should interefere with typing in a new email or reply email. Our addin was written using VB6 and Outlook 2000. When I tried to run the project in the VB IDE on a machine that has Outlook 2007 I was indundated with various bogus errors about binary compatability and returns types and arguement types in various public functions had been changed. I had to create my own Type Enums and declare EVERY outlook constant I used and turn EVERYTHING into objects and remove the reference to Outlook to get around the problem. Has anyone run into this as well? |
#4
|
|||
|
|||
![]()
Try not adding any Inspectors events until StartupComplete() fires and see
if that helps. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Donald" wrote in message ... I created a Com-Addin base on the outlook,MSOUTL9.OLB(outlook 2000 library) is imported. 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(IConnectionPointContainer Ptr), (void**)&pCPCtr); pCPCtr-FindConnectionPoint(IID_IInspectorsEvents, &m_inspectorsEvents)); m_inspectorsEvents-Advise(this, &m_inspectorsEventsCookie)); Do you think it is a compatibilty problem? Any advice? "Ken Slovak - [MVP - Outlook]" wrote: I haven't seen that problem with any of my addins, most of which are written using VB 6 and the Office/Outlook 2000 object models and library references. The only reason I ever see any errors about binary compatibility is if I compile an addin on an Outlook 2007 or 2003 dev machine and then re-compile the same binary back on the Outlook 2000 dev machine. The Outlook/Office 2000 object models are fully compatible with Outlook 2007, you just don't get any of the later additions unless you late bind them. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Mikey" wrote in message ... Has anybody else had trouble with a COM Addin causing Outlook 2007 to hang or perform slowly while typing in the message body of an e-mail? The problem ocurrs intermittently and seems to go away if we turn off our COM Addin. It appears to be something that OL2007 introduced and our addin is exasperating....however our code does nothing that should interefere with typing in a new email or reply email. Our addin was written using VB6 and Outlook 2000. When I tried to run the project in the VB IDE on a machine that has Outlook 2007 I was indundated with various bogus errors about binary compatability and returns types and arguement types in various public functions had been changed. I had to create my own Type Enums and declare EVERY outlook constant I used and turn EVERYTHING into objects and remove the reference to Outlook to get around the problem. Has anyone run into this as well? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2007 beta doesn't receive/send the body of a message | gutdoc | Outlook - Installation | 5 | July 15th 07 04:38 PM |
Outlook 2007 / Addin with Ribbon | Paul Liebrand | Add-ins for Outlook | 3 | February 5th 07 10:12 PM |
Outlook 2007 e-mail message headers download but not message body | DJR | Outlook - Installation | 3 | September 13th 06 04:00 AM |
When typing message in Outlook nothng registers on the screen | Jarodd | Outlook - Installation | 1 | September 7th 06 01:27 AM |
Typing but no characters showing in message | Suzanne | Outlook - General Queries | 1 | June 9th 06 08:15 PM |