hello,
i've problems using two connections at same time.
When modifiyng simple1 example this way :
Connection con(use_exceptions);
Connection con2(use_exceptions);
//connect_sample_db(argc, argv, con);
con.connect( "data", "pcxx", "user", "pwd" );
con2.connect( "test", "pcxxx", "user", "pwd" );
bool testi = con.connected();
Query query = con.query();
// This creates a query object that is bound to con.
query << "select user_id from user_data where
benutzername='thomas.werth'";
// You can write to the query object like you would any other ostrem
Result res = query.store();
I got an access validation in query.store()...
I'm using mysql-4.0.21-win and mysql++ 1.7.16 and set up my studio to
look in those dirs for needed libs and headers.
what could be the problem ?
--
MFG
Thomas Werth