Recordsets in C++ .NET
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Just got Visual C++ .NET and am having a problem that I can't figure out. I am trying to use the CRecordset::GetFieldValue function. .NET is giving me errors telling me that it can't convert from a CString to a CDBVariant. I'm using it like this: recordset.GetFieldValue("Field", TestString); This works fine in VC++ 6.0, but now it doesn't work in .NET?? Am I doing something wrong? I selected to create a regular dll file, but everywhere that I call this it tells me the same error.