Sample Applications
This section describes the sample applications provided with Creo Object TOOLKIT C++.
Installing Creo Object TOOLKIT C++
Creo Object TOOLKIT C++ is a part of the Creo installation. When you install the product, one of the optional components is API Toolkits. In API Toolkits, select Creo Object TOOLKIT C++ to install it.
The header files, platform-specific libraries, example applications, and documentation, specific to Creo Object TOOLKIT C++ are installed in the loadpoints as explained below :
•  Application loadpoint <creo_otk_loadpoint_app>—The location is <creo_loadpoint>\<version>\Common Files\otk\otk_cpp. The Creo Object TOOLKIT C++ application files, such as, platform-specific libraries, header files, example applications, and so on, are installed in this location.
•  Documentation loadpoint <creo_otk_loadpoint_doc>—The location is <creo_loadpoint>\<version>\Common Files\otk_cpp_doc. The Creo Object TOOLKIT C++ documentation files such as, Creo Object TOOLKIT User’s Guide, Creo Object TOOLKIT C++ APIWizard, and so on, are installed in this location.
In Creo 6.0.0.0 and later, these sample applications are digitally signed.
Sample Applications
The Creo Object TOOLKIT C++ sample applications are available at <creo_otk_loadpoint_app> for both synchronous and asynchronous modes.
otk_examples
The application otk_examples is a collection of example source files for Creo Object TOOLKIT C++ User’s Guide. The examples cover most of the Creo Object TOOLKIT C++ functionality for synchronous mode of application.
For example, the otk_examples_drw application demonstrates the drawing functionality.
The example otk_examples_cip demonstrates basic operations in Creo Object TOOLKIT C++ using xstring.
otk_async_examples
The application otk_async_examples is a collection of example source files for Creo Object TOOLKIT C++ User’s Guide for asynchronous mode of application.