Building the Component Interface Sample (C++)
The component interface sample program for C/C++ is provided as part of the component interface SDK, located in <PS_HOME>\sdk\pscompintfc\src\cpp\samples\sdk_bus_exp.
The C++ source code for the sample is in the following file: sdk_bus_exp\sdk_bus_exp.cpp
Before you run the sample, you must build the APIs and set up the C++ environment. To build the C++ component interface sample:
-
Open the sdk_bus_exp workspace in the Microsoft Visual C++ editor.
-
Build the project by selecting Build, Rebuild All.