C/C++ and ATEasy Data Types

Version 7

The following table shows C/C++ equivalent data types to ATEasy types.  This conversion is used to export C header file for ATEasy Dll.  Note that Types in C are case sensitive.

 

ATEasy Data Types

C/C++ Data Type

Char

char

Byte

unsigned char

Short

short

Bool

short (VARIANT_BOOL - Microsoft)

Word

unsigned short (WORD - Microsoft)

WChar

unsigned short (WCHAR - Microsoft)

Long

long

DLong 

longlong

DWord

unsigned long

DDWord

unsigned longlong

Float

float

Double

double

Currency

CY (Microsoft - wtypes.h)

DateTime

double (DATE - Microsoft - wtypes.h)

String

LPSTR

BString

LPCWSTR

Variant

VARIANT

Procedure

void *

Object

LPUNKNOWN

Any

LPVOID