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;
}
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;
}