I use Visual C++ 2005 Express Edition and mysql++2.1.1.

Everythink works fine when I'm useing object mysqlpp::Connection(...)
mysqlpp::Connection baza("information_schema",

It even realy connects to MySQL.

But when I create mysqlpp::Query objeckt like that:
mysqlpp::Query and=baza.query();

The progrogram compiles, links, but when I run the program it crushes
when object is deleteing from memory - destructor works. i.e:
// -1
mysqlpp::Query and=baza.query();