I'm working with some legacy code that has an import like so:
#import "C:\Program Files\Common Files\System\ado\msado15.dll" rename("EOF", "EndOfFile")
The problem is, on a x64 machine the path for this import is in the 'Program Files (x86)' directory. Is there a preprocessor macro I can wrap around this to make it work on either?
Edit1: I think I found it. _M_X64, but im not 100% sure if this is correct. Edit2: _M_X64 seems to be for when you are compiling FOR a x64 processor. Not on one.