Hi, Here is code from Kylin ODBC Driver: case SQL_IDENTIFIER_CASE: // 28 *((int16*) pInfoValuePtr) = SQL_IC_MIXED; break;
case SQL_MAX_INDEX_SIZE: // 102 *((int32*) pInfoValuePtr) = 0; break; case SQL_MAX_ROW_SIZE: // 104 *((int32*) pInfoValuePtr) = 0; break; As you see, sometimes pInfoValuePtr is a int16* pointer and sometimes it is a int32* pointer. How could I know when it is a int16* pointer? Thanks, Best regards, QIAO PING