COM AddIn Causes Error When OL Closes

  • Thread starter Thread starter Fred Block
  • Start date Start date
F

Fred Block

Hi All,

I have a COM AddIn (ActiveX DLL) and a Property Page (OCX) I've created in
separate VB projects. I've compiled thema dn Outlook openas and loads them.
However, when I close Outlook, I get an error (similar to a GPF). Any ideas?

Thanks in advance!
- Fred
 
One more thing...

Outlook ONLY displays the error if the Property Page (actually the Options
dialog itself) is opened while Outlook is opened. Otherwise Outlook closes
without the error appearing.

Thanks again! - Fred
 
Hi Eric,
Without extensive samples of your code, this is difficult to point.
However,
many problems with COM Add-Ins are due to improperly releasing object
variables. The best I can do is point you to these resources for "best
practices" with COM Add-In development:

Well that's the best then... at least I have a place to look for possible
causes. Thanks much for your reply Eric!

Kind regards - Fred
 
I still don't have a bona fide, magical answer for you, but here's the
reference material for adding property pages (in case you haven't seen this):

Adding custom property pages -- Office Outlook 2003 VBA Language Reference
(Microsoft Office Outlook 2003 Visual Basic Reference):
http://msdn.microsoft.com/library/e...CustomPropertyPages_HV05272720.asp?frame=true

Secure Deployment of Managed COM Add-Ins in Office XP
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_ofshim.asp
 
Back
Top