OPC Studio User's Guide and Reference
QuickOPC Visual C++ Examples
Examples > Examples in the Product and on the Web > QuickOPC COM Examples > QuickOPC Visual C++ Examples
In This Topic
For the very simplest, introductory examples, see this page on our main Web site: OPC development in C and C++.

The majority of Visual C++ examples are currently provided for Microsoft Visual Studio 2022.

We also provide an example in Microsoft Visual Studio 6.0 (Visual C++ 6.0), to show the feasibility, although we do not regularly update it with newer version of QuickOPC.

Examples in Visual Studio 2022+

All examples #include (through stdafx.h) a QuickOpc.h file in the SDK\include subdirectory. This file imports all QuickOPC type libraries and declares wrappers for QuickOPC interfaces and classes.

We cannot assure that the examples target one of the Windows SDK versions installed in your development computer. When opening or building the examples, you may receive a warning or error to this effect. The examples do not rely on particulars of any Windows SDK version, and you should be able to easily retarget them to the Windows SDK version of your wish. In Visual Studio, if the retargeting is not offered to you or performed automatically, right-click on the solution node in the Solution Explorer, select the Retarget solution command, and proceed as needed.

Examples in Visual Studio 6.0

You will find some more information to this subject in the Knowledge Base article .

All examples #include (through stdafx.h) a QuickOpc.h file in the SDK\include subdirectory. This file imports all QuickOPC type libraries and declares wrappers for QuickOPC interfaces and classes.

See Also

Fundamentals

Knowledge Base