title: How to determine if the executing program was compiled for 64 bit?
body: <p>I need for my program to determine if it was compiled for 32 bit windows or 64 bit/any CPU. I need to choose a different COM server flag depending on the compilation options. Any ideas?</p>