What's up with CRecordset?
-
Does anybody know what happened to the GetFieldValue() method of the CRecordset class in MFC version 7? In version 6, the method had 4 overloaded versions, one of which was: void GetFieldValue( LPCTSTR lpszName, CString& strValue ); In version 7, the method still has 4 overloaded versions, but now the one stated above is missing, and seems to have been replaced with the following two: void GetFieldValue( short nIndex, CStringA& strValue ); void GetFieldValue( short nIndex, CStringW& strValue ); The problem is that we have a bunch of code that uses the version that was only shipped in version 6, and hence the code does not compile in version 7 (without a bunch of tedious tweaking). Was this an oversight by MS? Or did they have a reason for removing this particular version of the method? Thanks in advance to all who have input ;) -- Loren Brewer