CryptoSys PKI Toolkit Manual

Using with Classic Visual Basic VB6 and VBA

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

The VB6 functions work in the same way as you would call the Win32 API functions from VB6. 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\CryptoSysPKI\VB6.

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

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.