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!

MFC COM Add-In

Status
Not open for further replies.

MarcinW

Programmer
Jun 8, 2003
6
PL
Hi,

I want to write COM Add-in for Word 2000 which uses MFC.
I've found an add-in example but it's not MFC DLL.

I tried to append MFC classes to this add-in but it didn't work (afxCurrentResourceHandle is NULL - I think some objects are not initiated :-(().

What should I do to write an MFC COM add-in ?. I generally have problems with connection of MFC DLL and typical C++
COM add-in model which bases on IDTExtensibility2 class and related.

Do You know where can I find examples ???

Regards,
Marcin
 
First of all you should create an MFC ActiveX project and after that to add classes from your sample. You did viceversa.

Ion Filipski
1c.bmp

ICQ: 95034075
AIM: IonFilipski
filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top