Previous Page Contents Page Next Page

1.6 Windows Considerations

This section summarizes processing considerations you need to be aware of when developing applications on a Windows client.

1.6.1 Compiling and Linking a CSV Application

This section provides information about compiling and linking CSV programs on Windows.

Compiler Options for Structure Packing

The VCB structures for CSV are not packed. Do not use compiler options that change this packing method.

DWORD parameters are on DWORD boundaries, WORD parameters are on WORD boundaries, and BYTE parameters are on BYTE boundaries.

Header Files

The CSV header file to be included in Windows CSV applications is named wincsv.h. This file is installed in the subdirectory /sdk within the directory where you installed the Windows Client software.

Load-Time Linking

To link the TP to CSV at load time, link the TP to the API library file wincsv32.lib.

Run-Time Linking

To link the TP to CSV at run-time, include the following calls in the TP:

  • LoadLibrary to load the CSV dynamic link library wincsv32.dll

  • GetProcAddress to specify CSV on each of the CSV entry points required (such as WinAsyncCSV, WinCSVStartup, and WinCSVCleanup)

  • FreeLibrary when the library is no longer required

Previous Page Contents Page Top of Page Next page