Scott McPhillips [MVP]
2007-03-28 16:03:41 UTC
I'm studying building addins for Word, and have started with the
ComAddin sample code provided in KB article Q230689. This is C++ code
at the raw COM level. To show the basics all it does is pop up a
message box when it is loaded, and create a button in Word, and pop
another message box when the button is clicked. That works ok, but then
if a document is opened in Word the button stops working. Any clues why
that would happen?
ComAddin sample code provided in KB article Q230689. This is C++ code
at the raw COM level. To show the basics all it does is pop up a
message box when it is loaded, and create a button in Word, and pop
another message box when the button is clicked. That works ok, but then
if a document is opened in Word the button stops working. Any clues why
that would happen?
--
Scott McPhillips [VC++ MVP]
Scott McPhillips [VC++ MVP]