4 messages in com.mysql.lists.plusplusData types - especially strings
FromSent OnAttachments
Joachim Person14 Mar 2005 11:10 
Chris Frey14 Mar 2005 12:31 
Chris Frey14 Mar 2005 12:36 
Earl Miles14 Mar 2005 12:48 
Subject:Data types - especially strings
From:Joachim Person (joap@student.liu.se)
Date:03/14/2005 11:10:47 AM
List:com.mysql.lists.plusplus

Having the following code

std::vector<CString> retV;

Result::iterator iter;

Row row;

for (iter = result.begin(); iter != result.end(); ++iter) {

row = *iter;

retV.push_back(CString(row[TABLE_NAME_SERVICE_COL_NAME_NAME]));

}

only gives me one letter as result. So this seems wrong. How do I get the full string?