I have a problem.
The project is in C++ (#import "msado15.dll... etc)
Everything works rather well...
The connection to an Access database works fine.
I create a recordset by calling the Execute method of the connection object.
The command is valid ("select col1, colb from anytable where condition")
After that, I start to scan the recordset by
char *str = (char*)pRecordset->Fields->GetItem("Col1")->Value;
The problem is that in some minor cases, I get garbage in the variable str.
I tested reading twice the value and check if the method fails in some minor cases.
That was not the problem, no mather how many times i call.
str = (char*)pRecordset->Fields->GetItem("Col1")->Value;
I suspect that the DB Engine is returning that garbage. (in this case Access)
If some one can help me about this.... I will apretiate it.