# EsbGetAPIVersion

Description

EsbGetAPIVersion() returns the current version of the Essbase API.

Syntax

    EsbGetAPIVersion (lVersion)

    lVersion As Long

Parameters

Version | Version number of API. Hex value, in Visual Basic notation, with the following format: &`H00000000` First 4 numbers from right (low order word): release number between versions Remaining numbers (high order word): version number For Example, &`H00040000` represents Release 4.0, and &`H00030002` represents Release 3.2.

Notes

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

Example

    Declare Function EsbGetAPIVersion Lib "ESBAPIW" (lVersion As Long) As LongSub ESB_GetAPIVersion()
       Dim sts As Long
       Dim Version As Long

       '***************
       'Get API Version
       '***************
       sts = EsbGetAPIVersion(Version)
    End Sub

See Also

EsbGetObjectInfo()