Hello everyone,
I have a compatibility problem between certain library and my code.
I'm doing the tutorial to generate an OPC client. (https://documentation.unified-automation.com/uasdkcpp/1.6.3/html/L3GettingStartedClientLesson01.html).
I install the C ++ win64 SDK, I did steps 1, 2, 3, and I have this problem while compiling:
Error LNK1112 module computer type 'x64' conflicting with target computer type 'x86' for the uabasecppd library.
the only difference is that I am not working on visual studio 2015 but 2017 and therefore that I do not have a win32 console application project but only console application.
Does anyone have an idea to solve this problem?
Thanks for your help
Conflict x86 x64
Moderator: Support Team
- Support Team
- Hero Member
- Posts: 3078
- Joined: 18 Mar 2011, 15:09
Re: Conflict x86 x64
Hi,
you can not mix 32bit application with 64bit DLLs.
Make sure you have everything in 64bit, or alternatively have everything in 32bit (32bit application will run on 64bit operating system in WOW64).
you can not mix 32bit application with 64bit DLLs.
Make sure you have everything in 64bit, or alternatively have everything in 32bit (32bit application will run on 64bit operating system in WOW64).
Best regards
Unified Automation Support Team
Unified Automation Support Team