Tivoli Header

Tivoli Storage Manager Using the Application Program Interface

Windows 64-bit Operating System

We recommend that you use dynamic loading. See dynaload.c and implementation in the sample code. For Windows operating systems, the files that are listed in Table 9 include the source files that you need to build the sample application. This sample application is included in the API package.

Table 9. Files That You Need to Build the Windows 64-bit API Sample Application

File Names
Description
api.txt
Readme file
dapismp64
API sample program
tsmapi64.dll
API DLLs
dsmrc.h
dsmapitd.h
dsmapips.h
dsmapifp.h
dsmapidl.h
release.h

Return codes header file
Common type definitions header file
Operating system-specific type definitions header file
Function prototype header file
Dynamically loaded function prototype header file
Release values header file
dapidata.h
dapint64.h
dapitype.h
dapiutil.h

Source code header files
tsmapi64.lib

Implicit library
dapibkup.c
dapiinit.c
dapint64.c
dapipref.c
dapiproc.c
dapiproc.h
dapipw.c
dapiqry.c
dapirc.c
dapismp64.c
dapiutil.c
dynaload.c
Source code files for dapismp.exe
dapismp64.mak

Visual C++ makefile for API sample program
callmt164.c
callmt264.c
makemt64.mak

Multi-threaded sample files
Multi-threaded sample files
Makefiles to build multi-threaded samples
for your operating system

The API\OBJ directory contains the API sample program object files. The API\SAMPRUN directory contains the sample program. The dapismp sample program contains the execution directory.

The DLLs (tsmapi64.dll) are all 64-bit DLLs.

Use the Microsoft Visual C++ Level 6.0 compiler and the makefile, dapismp64.mak, to compile the API sample application, dapismp. It might be necessary to adjust the makefiles (specifically, the library or the Include directories) to fit your environment. To run the sample application, enter dapismp64 from the api\samprun directory.

Continue with "Running the Sample Application".


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]