Incompatible Types Word2000 and Word 2010 Documents

Add-in Express™ Support Service
That's what is more important than anything else

Incompatible Types Word2000 and Word 2010 Documents
Destaque Empreendimentos em Informática

Posts: 41
Joined: 2011-03-10
Hi for all,
I'm trying manipulate the active document (on Word) into an on-click method (for a ribbon button), but when I get the document from WordApp.ActiveDocument, it is of the type Word2000.Document, but I put the Word2010 in the "uses" session. Then Delphi does not compile with this error message: [dcc32 Error] McOffice6_IMPL.pas(613): E2010 Incompatible types: 'Word2010._Document' and 'Word2000._Document'

Can someone help me?

Posted 27 Nov, 2014 07:54:21 Top
Andrei Smolin

Add-in Express team

Posts: 14671
Joined: 2006-05-11
Hello Sergio,

You get this issue because Add-in Express is built on MS Office 2000 Sample Automation Server Wrapper Components. Please find an example of using a different type library at

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 27 Nov, 2014 09:42:44 Top