Building APIs for C++
If you plan to access your component interface from a C++ external application, you must create a component interface API. The APIs are in the form of C header files (*.h), which need to be included in the calling program.
To build the component interface bindings:
-
Open any component interface definition in PeopleSoft Application Designer.
Use any component interface definition, because you can build APIs for all of them, regardless of which one is open.
-
Select Build, PeopleSoft APIs.
The Build PeopleSoft API Bindings dialog box appears.
-
Select the Build check box in the C Header Files group box.
For the target directory, enter the directory in which you want the C++ header file to be created, typically <PS_HOME>\bin\client\winX86.
-
Click OK to build the bindings that you selected.
The peoplesoft_peoplesoft._i.h file that constitutes the bindings is built in the location that you specified. If the operation was successful, a Done message appears in the PeopleSoft Application Designer Build window.