CryptoSys API Library Manual

Type Conversions

The following type conversions apply:-

Visual BasicC/C++
ByVal x As Stringchar *x
ByRef x As Byteunsigned char *x
ByVal x As Longlong x

Earlier versions used the Boolean type for the bEncrypt variable. This has been changed [Version 4.0] in the Declarations to take a 32-bit Long type, which still works in VB6 even if the variable passed has been dimensioned as a Boolean type, so this should not break any existing code. We recommend that you use the defined constants ENCRYPT and DECRYPT in your VB6 and C code.

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

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