STRANGE!!!!!!!!!!
-
hi, i have a program written that reads a flat text tab separated file using ODBC ,the database contains various number and text columns.Using VC++ classwizard, i created my CRecordset derived class and the type of member-variables corresponding to the text columns is CString .My problem is that i am able to connect and open the database and fetch all the records i want by fetching the recordsets in loop, but i couldn't read all but first text columns and when i try to read them ,it gives exception.All other columns of type number are read correctly for all records.Surprisingly the first text column field is also read correctly but the subsequent fields are not. While debugging ,when i see the value of these string member-variables of the recordset ,it says CXX0033:ERROR: error in OMF type information. Can anybody give some suggestions.
-
hi, i have a program written that reads a flat text tab separated file using ODBC ,the database contains various number and text columns.Using VC++ classwizard, i created my CRecordset derived class and the type of member-variables corresponding to the text columns is CString .My problem is that i am able to connect and open the database and fetch all the records i want by fetching the recordsets in loop, but i couldn't read all but first text columns and when i try to read them ,it gives exception.All other columns of type number are read correctly for all records.Surprisingly the first text column field is also read correctly but the subsequent fields are not. While debugging ,when i see the value of these string member-variables of the recordset ,it says CXX0033:ERROR: error in OMF type information. Can anybody give some suggestions.