Domanda

Are the Primary Interop Assemblies (PIA) for Office 2007 compatible with both 32 bit and 64 bit versions of Windows?

Are they compiled with a target of any processor?

Also, is there a way I can verify this, say by using a tool like Reflector?

È stato utile?

Soluzione

Office 2007 is a 32 bit application so you can only use interop from another 32-bit application.

This applies to both 32 and 64-bit operating systems.

Mark your application as x86 in Visual Studio (not "Any CPU").

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top