CryptoSys API Library Manual

Using with Classic Visual Basic and VBA

To call the CryptoSys API functions from a classic Visual Basic project or VBA application, just add the module basCryptoSys.bas to your project (VBA users should delete the first line Attribute VB_Name = "basCryptoSys").

The VB functions work in the same way as you would call the Win32 API functions from VB. You must use the correct variable types and must pre-dimension strings and byte arrays that are to receive output or you will suffer the wrath of the great god Gee-pee-eff.

For examples, see the test code provided in the distribution in the folder C:\Program Files\CryptoSys\VB6.

[HOME]   [NEXT: Pre-dimensioning for VB...]

Copyright © 2001-9 D.I. Management Services Pty Ltd. All rights reserved.