EsbGetAPIVersion

Returns the current version of the Essbase API.

Syntax

EsbGetAPIVersion (lVersion)
lVersion As Long
ParameterDescription

Version

Version number of API. Hex value, in Visual Basic notation, with the following format:

&H00000000

For example, H00040000 represents Release 4.0, and &H00030002 represents Release 3.2.

  • First 4 numbers from right (low order word): release number between versions

  • Remaining numbers (high order word): version number

Notes

You can use this function to check the API version when your program requires a particular version.

Example

Declare Function EsbGetAPIVersion Lib "ESBAPIN" (lVersion As Long) As Long

Sub ESB_GetAPIVersion() 
   Dim sts As Long
   Dim Version As Long   '***************
   'Get API Version
   '***************
   sts = EsbGetAPIVersion(Version)
End Sub

See Also

  • EsbGetObjectInfo