CryptoSys PKI Toolkit Manual

Type Conversions

The following type conversions apply between VB6/VBA and C/C++:-

VB6/VBAC/C++
ByVal x As Stringchar *x
ByRef x As Byteunsigned char *x
ByVal x As Longlong x

You can still use Boolean type for the fEncrypt variable in VB6/VBA, which is equivalent to a 32-bit integer when passed to the core DLL. We recommend that you use the defined constants ENCRYPT and DECRYPT in your VB6 and C code.

[HOME]   [NEXT: Compiling with C...]

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