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

  • Thread starter Thread starter Bryant Fong
  • Start date Start date
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?
 
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.
 
Back
Top