Hi, Dear all:
I have downloaded mysql++1.7.9 from www.mysql.com/downloads/api-mysql++.html and patched it with omnibus-gcc-3.3.patch.gz and then built and installed. Everything is OK for building, but after I building my application using mysql++ api and run the application, I find that the operator[] of class Row has the following problem: Using the the field name instead of field index to retrieve the field value is not right. For example:
dwUserID = row["UserID"], dwUserID always gets 115(in fact, any other field is also 115)
but with the following statement, everything is OK:
dwUserID=row[0]
What's the matter? Is there any other patch needing to be installed?
Best Regard!
Yours Sincerely Tommy