BWINTCOM.dll implements two ActiveX objects, Bwint.BankWizardInt and Bwint.BWIHandle which call the Bank Wizard API functions. The include file, bwiapi.inc, defines the constant values used by Bank Wizard. The constants used by each country are in the bwicc.inc include files, where cc is the ISO country code.
You can store the BankWizardInt and the BWIHandle objects with the ASP session object. By default the maximum number of handles that can exist at one time is 256. You can change it using:
bwi.runtime(BWI_R_MAX_HANDLES)=number
When the server destroys the object, handles automatically call their free method to release the storage within Bank Wizard. However, any handles stored in the session are not freed until the session either times out or is explicitly terminated with Session.Abandon.
Do not store the handles in the session, but create a handle, recover the data and then free it. You should only store data in the session.
|
You can pass item BWI_R_NUM_HANDLES to bwi.runtime to determine how many handles are currently being used. |
After creating a handle, check the validHandle property to make sure Bank Wizard could allocate the handle. If this returns a value other than 0 (zero) then the handle is not valid.