User Guide Troubleshooting C++ runtime errors Why do I get "Fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'" error in C++ |
Why do I get "Fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'" error in C++ |
The following errors might occur at compile when using EasyXLS Excel library in C++:
Fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
or
Fatal error LNK1112: module machine type 'X64' conflicts with target machine type 'x86'
The error occurs because the target machine and Debug (Release) runtime setting do not match. |
|
Fatal error LNK1112: module machine type 'X64' conflicts with target machine type 'x86'Go after Debug or Release configuration and select Win32 from combo box on solution platforms.
![Visual Studio, Solution Platforms, 32-bit]() |
Fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'Go after Debug or Release configuration and select x64 from combo box on solution platforms.
![Visual Studio, Solution Platforms, 64-bit]()
If x64 platform is not available, the following directions guide you to set up.
Go after Debug or Release configuration and select Configuration Manager from combo box on solution platforms.
![Visual Studio, Solution Platforms, Configuration Manager]()
Go to Active solution platform and select <New…> from combo box.
![Visual Studio, Configuration Manager]()
Select x64 from platform combo box and hit OK button.
![Visual Studio, New Solution Platform]() |
|
Available for: Professional, Excel Writer, Excel Reader, Express Excel Writer
|