Test case for my problem.

There are three files:
test.c testpp.cc testpp_wrap.cc

All files should do nearly the same.

The C-program test.c works fine.

The C++-program testpp.cc cannot create the query
because there is a syntax error.

The C++-program creates the query with libgda
and then wraps it to libgdamm.  This works.