File Content Extraction 25.1
Viewing SDK Programming Guide

# Overview

The following sample programs are provided for the Viewing API:

hellovapi | vapidemo
mfckv | rtfdemo
prntdemo | filetype
ihademo | drawdemo
uzipdemo |

OpenText 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.

NOTE: The sample programs are Windows applications, not console applications. In other words, they contain a `WinMain` procedure instead of a main procedure.

## Compile the Sample Programs

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.

## Run the Sample Programs

To run a sample program

1. Install Viewing SDK.

2. Run the sample program from the `release` subdirectory of each sample program.

## Viewing SDK Initialization Information

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 `kvsdk.ini` file.

Copyright 2016-2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.1

Topic Title: Overview