i have strange thing here. i'm concatenating _bstr_t strings in order assemble sql command.
_bstr_t strsql = a+b+k+hk+allin+hk+k+hk ...and on.
when print console (using std::wcout << '/n'<< strsql << '/n';) string, 12142 in beginning , end of string. looks like:
12142"select * from....."12142 does know comes from?
i'm using: vs2010 express, c++, , i'm building console app.
you wrote '/n' instead of '\n'. multicharacter literal, in case gives integer value 12142.
Comments
Post a Comment