KMC
KMC

Reputation: 20046

Is Office.Interop backward compatible?

Does referencing Office.Interop 14.0 allow me to automate Office 2003, 2007, and 2010?

I asked because I am unable to reference multiple directives for different Interop version (and I can no longer download trails of older office to check its compatibility).

(Office.Interop 12.0 failed against Office 2010 in my application.)

Upvotes: 4

Views: 2954

Answers (1)

PhonicUK
PhonicUK

Reputation: 13844

Yes but...

You have to be careful not to use features of the API that the office version you're targeting doesn't support, or you'll get some very odd memory access exceptions thrown at you.

I'm using Interop 12 to target Outlook 2007 and 2010 without too many issues.

Upvotes: 3

Related Questions