Quantcast
Channel: MySQL Forums - Connector/C++
Viewing all articles
Browse latest Browse all 527

Connector 1.1.19 cpp getstring error (3 replies)

$
0
0
Hy

Visual studio 2019 I have a menory failed at the end off the code:
when i'm over the instruction break it's try to delete the string tt
and it's make a exeption !!!

the query extract the correclyt data from the database only one record and row.


while (result->next())
{
string tt = result->getString("date");
Mess_DATE = tt.c_str();
if (tt.c_str() != CHAINE_VIDE)
{
Error = (int)Calcul_Date::BD_OK;
Extract_Date(tt.c_str());
}
else
{
// Error MDP or password invalid
Error = (int)Calcul_Date::BD_INVALID_USER_OR_PASSWORD;
}
break;
}

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>