MSDN 就这样解释 RESOLUTION To work around this problem, use a dynaset instead of a snapshot or get the 2.65.0240 version of the SQL Server driver that is included with Visual C++ 5.0. 找不到在哪设置dynaset,我用的是Provider=SQLOLEDB,SQL Server driver,我已经用vc6sp6了,ODBC版本都大于2.65.0240
switch(dbType)
{
case DBTYPE_I2:
这句出错,自己查msdn
就这样解释
RESOLUTION
To work around this problem, use a dynaset instead of a snapshot or get the 2.65.0240 version of the SQL Server driver that is included with Visual C++ 5.0.
找不到在哪设置dynaset,我用的是Provider=SQLOLEDB,SQL Server driver,我已经用vc6sp6了,ODBC版本都大于2.65.0240