ESB_INIT_T

This structure is passed to the VB API initialization function EsbInit() and contains fields that let API developers customize their usage of the API. If any of the fields of the structure are set to zero, the API defaults are used. The fields are:

Type ESB_INIT_T

   Version     As Long                  
   MaxHandles  As Integer               
   LocalPath   As String * ESB_PATHLEN  
   MessageFile As String * ESB_PATHLEN  
   HelpFile    As String * ESB_PATHLEN  
   ClientError As Integer            
   ErrorStack  As Integer                
End Type
VB Data TypeFieldDescription
As Long VersionVersion of Essbase API used to compile the application. Used for backward compatibility.
As IntegerMaxHandlesThe maximum number of simultaneous context handles required by the application (between 1 and 10)
As String * ESB_PATHLENLocalPath The default local path name to use for file and object operations on the client
As String * ESB_PATHLENMessageFile The qualified path name of the Essbase message database file, ESSBASE.MDB
As String * ESB_PATHLENHelpFile Fully-qualified path name of the user-defined application help file, used for help for the AutoLogin dialog box. The login help context must be defined in the help file. See Integrating Essbase with Your Product. Default:
$(ARBORPATH)\BIN\ESSAPIW.HLP
. If
ARBORPATH
is not defined, the help file name is set to null.
As String * 1ClientErrorESB_FALSE to use a default error handler, ESB_TRUE to use EsbGetMessage to retrieve messages
As IntegerErrorStackA size of the message stack used by EsbGetMessage, default is 100