Hey,
Everythings works fine when i retrieve a < 15 Char String.
but when i try to get a string thats longer as 15 chars my application crashes / toggles a Breakpoint.
I'm using Visual Studio 2013 Community Edition.
best regards: Max
Everythings works fine when i retrieve a < 15 Char String.
but when i try to get a string thats longer as 15 chars my application crashes / toggles a Breakpoint.
I'm using Visual Studio 2013 Community Edition.
while (res->next()) { *Active = res->getInt("active"); *id = res->getInt("id"); *username = res->getString("name"); *Sub = res->getString("sub"); // Crash stringstream stmtvar; stmtvar << GetMySQLStatement2() << date << "' WHERE hwid = '"<< hwid <<"'"; stmt->executeUpdate(stmtvar.str()); delete res; delete stmt; delete con; return MYSQL_RETURN_SUCCESSFULL; }
best regards: Max