Call CTRecord::GetFieldLength() to retrieve the field actual size. Variable length fields such as CT_VARCHAR and CT_VARBINARY actual size in a record may vary from the defined size.
// check if field 0 actual size is different from defined size
if (ARecord.GetFieldSize(0) != ARecord.GetFieldLength(0))
{
printf("Field 0 defined and actual sizes are different\n");
}