문제

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?

도움이 되었습니까?

해결책

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").

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top