Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 2000: COM Add-in doesn't work with the second instance

Status
Not open for further replies.

ZakiMaksyutov

Programmer
Feb 28, 2001
87
RU
Hello!
I wrote on Visual C++ 6 one COM Add-in for Word 2000.
It inserts my toolbar and one button. Then it sinks OnClick event of this button with standart IConnectionPointContainer/IConnectionPoint.
When WinWord runs, my addin starts and sink this event, but it works only for this instance :(
If I create a new document (manually) - the second window opens and there my addin doesn't work (precisely event from my button isn't catched by my addin).

May be someone knows what shoul I do?

Thanks for any help.

With best regards,
Zaki
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top