HELP: Can't debug my VC++ Outlook COM Add-in?

B

Bryant Fong

I created an Outlook COM Add-in using the VC++ ATL wizard in Visual Studio
6, roughly following an article found on codeproject.com
(http://www.codeproject.com/com/outlookaddin.asp). This automatically
created the required _IDTExtensibility2 interface methods, and changed them
to all merely return S_OK. When launching and attaching to Outlook 2003,
and then enabling the add-in, none of the breakpoints hit.

I then reopened the project using VS.NET 2003, and then things were going
fine. Occasionally, I would get prompted by Outlook to disable the add-in,
since I've killed the app while debugging. I might have hit "yes", thinking
that just unchecks the box (and not permanently disables it). At some
point, it now does not hit breakpoints anymore even though I commented
almost everything out.

Why might this happen?
 
B

Bryant Fong

Wow, I found there was a "Disabled" dialog in the Help-->About dialog, and
my add-in was in the list. How this behavior or location makes any sense is
beyond me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top