HP-UX SNAplus2 CSV Programmer's Guide
Concepts
Windows Considerations
Chapter 136
Windows Considerations
This section summarizes processing considerations you need to be aware
of when developing applications on a Windows client.
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.
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