Skip to content
  • There are no suggestions because the search field is empty.

Cannot Compile 32-bit OPC Data Client C++ Project

When creating a new C++ project in Visual Studio, the Conformance Mode is automatically set to Yes (/permissive-).
This prevents the necessary OPC Data Client components from being accessible when attempting to compile the project as a 32-bit program.
If you require the project to be compiled as 32-bit, you will need to do the following:
 
In Visual Studio 2017 version 15.5 and later versions, use this procedure:
  1. Open your project's Property Pages dialog box.
  2. Select the Configuration Properties > C/C++ > Language property page.
  3. Change the Conformance Mode property value to Default. Choose OK or Apply to save your changes.