Open topic with navigation
The following sample programs are provided for the Viewing API:
HPE recommends that you review the
hellovapi program first to help you get started. It is a simple program that demonstrates the basic functions of the Viewing API.
WinMainprocedure instead of a main procedure.
To compile the sample programs, use the makefile provided in each sample program directory. Make sure that the Viewing
include directory is specified in the include path of the project.
After the executables are compiled and built, you must place them in the
release subdirectory of each program.
To run a sample program
Install Viewing SDK.
Run the sample program from the
release subdirectory of each sample program.
Viewing SDK uses initialization information for its internal operations; for example, to determine which components to load. You can store this information either in the Windows registry or in an initialization file. When you use Viewing SDK you must tell it where to find this information and what form it is in. See View Initialization Information for more information.
hellovapi demonstrates how to use the registry and the