On Mon, Mar 14, 2005 at 08:11:09PM +0100, Joachim Person wrote:
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]));
}
Oops, my dumb mistake, it is set to something. I should wake up completely
before I post advice. :-)
My first thought would be to check what type the inner
"row[TABLE_NAME...]" is returning. If it is not returning what you think
it is, you may need to force it with a cast.
- Chris