The Microsoft X64 compiler does not support inline assembly code. If your 32-bit application uses such code, you can address this problem in either of two ways. First, you can try to find equivalent C++ code that can be #ifdef'd with the assembly code it parallels. If this is not possible, the second option is to move the assembly language to a separate .asm (ASM) file and assemble it with the 64-bit assembler. Visual Studio provides the following assemblers under the \Microsoft Visual Studio <release>\VC\bin directory: