GetBinaryType() returns the bitness to match the calling app
问题 I am using this to determine if Office is 32-bit or 64-bit. I am calling it from a C# app. GetBinaryType(location, out bt) The exact same code, calling this on winword.exe, returns either 32-bit or 64-bit, matching the bitness of my C# app. Is there something I need to do when running in 64-bit mode that it still returns 32-bit for Office? I've put a very simple sample program here. The output running in x86 mode (on 64-bit Windows is): Running in 32-bit mode. GetBinaryType() returns SCS