Share this page

# Array Types and Functions

VuGen COM supports the functions for safe arrays:

Create<n>D<Type-Name>Array | Create an array of n dimensions of the type specified in Type-Name.
Destroy<Type-Name>Array | Destroy an array of the type indicated in Type-Name.
Fill<n>DByteArray | Fills the last dimension of a byte array with a buffer beginning at the specified n-1 indices.
GetElementFrom<n>D<Type-Name>Array | Retrieves an element of the specified type from a SafeArray.
lrc_Get<Type-Name>ArrayFromVariant | Extracts an array of Type-Name from a variant.
lrc_Get<Type-Name>Array_by_refFromVariant | Extracts an array of Type-Name from a pointer reference in a variant.
PutElementIn<n>D<Type-Name>Array | Stores an element in an array of the appropriate type.

In the above functions, <Type-Name> can be one of the following data types:

Bstr | BSTR
Byte | a byte (unsigned char)
Char | a character array
CoObject | an IUnknown interface
Currency | Currency (CY)
Date | a Date variable
DispObject | an IDispatch interface
Double | double
Dword | double word
Error | an scode error
Float | floating point number
Int | integer
Long | long integer
Short | short integer
UInt | unsigned integer
ULong | unsigned long integer
UShort | unsigned short integer
Variant | a variant type

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: