2011-02-14

Data Types transfer between vb6 and delphi

VB6 Delphi Data Size
boolean 2 bytes
byte byte Unsign 1 byte
integer smallint Sign 2 bytes
word Unsign 2 bytes
long longint Sign 4 bytes
longword Unsign 4 bytes
single single Sign 4 bytes
double double Sign 8 bytes
currency currency Sign 8 bytes