Version

 

The "Version()" function is helpful in keeping track of the version of the different DLL.

 

 

Syntax

 

extern "C" __declspec(dllexport) char  *Version(

          void 

)

 

 

Parameters

 

This function does not have a parameter.

 

 

Return value

 

This function return the version of the DLL as a text string.

 

 

Remarks

 

This function is optional, but it is strongly suggested that you have it in your module.  When the user place the program i trace mode ("Ctrl"+"1" TO "cTRL"+"5") the list of open modules and their versions are displayed.

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

 

Library:

          sliceO_Structures.lib

 

 

Example

 

...

 

#define              VERSION          "1.0 rev-a"

 

// ----------------------------------------------------------------------------

//

//          Function:          Version

//

//          Parameters:          void

//          Returns:          (char *)          The version of this module

//

// ----------------------------------------------------------------------------

extern "C" __declspec(dllexport) char          *Version( void )

{

          return( VERSION "  (" __DATE__ ")" ) ;

}

 

...

 

See also