MySQL Forums
Forum List  »  Connector/C++

Re: Connector 1.1.19 cpp getstring error
Posted by: Jean BEZET
Date: January 31, 2020 11:14AM

hy

viusal sutdio 2019 cpp
I don't undestand why it's don't work:

if (result->next())
{ {
string tt = result->getString("date"); /OK but failed at the end off if
strcpy (Mess_DATE.GetBuffer() , result->getString("date").c_str()); // failed memory exemption
}

Options: ReplyQuote


Subject
Views
Written By
Posted
800
January 31, 2020 09:29AM
Re: Connector 1.1.19 cpp getstring error
488
January 31, 2020 11:14AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.