Thanks a lot, you got the solution.
I guess that the GetFieldValue function has had '\0', and I don't know why.
But why does a cast to (LPCTSTR) resolves the problem ? I don't get that.
Hi,
I am making a request on a microsoft Access data base:
Code:
CDBVariant varValue;
CString repere;
record.GetFieldValue((short)0,varValue);
repere = *varValue.m_pstring;
everything seems Ok till here when I debug (ex: repere "310.96")
Then I add the repere's value in buffer...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.