BWIGetRuntime – Return runtime parameter

BWIGetRuntime (item, value)

Use this to get a runtime parameter, specified using the item parameter, from the core. You use this information when developing your application. For example, you can display the number of handles currently being used to make sure your application is freeing handles correctly.

Input parameters

item Long integer. This can be one of:
BWI_R_COUNTRY_MESS Core message language. By default this is English. If messages are not available in the required language, the English message is returned.
BWI_R_MAX_HANDLES Maximum number of handles allowed.
BWI_R_NUM_HANDLES Number of handles currently allocated, that is the number created but not yet freed.
BWI_R_TABLE_SET Database Table File set to use when BWIInit is next called.

Output parameter

value Long integer. This is the runtime parameter value.