< previous page page_532 next page >

Page 532
The user of the function simply needs to call this function as described in the text:
Dim monthName As String
monthName = MonthName( MONTH_JANUARY )
G.8
Calling SCDTL Functions from C and C++
The stdcall calling convention was used for the SCDTL DLL functions. The function prototypes have been modified to use the WINAPI calling convention.
For example, the text describes the function month_name in the header file scdtl_2.h:
extern char *month_name (int month_index);
This has been changed to:
extern char * WINAPI month_name (int month_index);
to set the calling convention for the function.
To use SCDTL.DLL simply include the appropriate header files (scdtl_1.h, etc.) in your source files and link to SCDTL.LIB.
Microsoft Visual C++ 4.0 was used to create the DLL and LIB files. The SCDTL DLL was statically linked with the multithreaded runtime library.

 
< previous page page_532 next page >