List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:September 26 2008 10:43am
Subject:Re: Error 2 error C2512: 'mysqlpp::Query' : no appropriate default constructor available
View as plain text  
On Fri, Sep 26, 2008 at 01:00:49PM +0530, manish wrote:
> Hi
>     Can any body says that what is the region of this error.
> Error 2 error C2512: 'mysqlpp::Query' : no appropriate default constructor available
> 
> 
> How it will remove from program

Hard to tell from just a compiler error, but...

The Query object is not meant to be standalone, and is often constructed
from a result from a connection object.

See the following page in the manual for an example:

	http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#simple

- Chris

Thread
Error 2 error C2512: 'mysqlpp::Query' : no appropriate default constructor available manish26 Sep
  • Re: Error 2 error C2512: 'mysqlpp::Query' : no appropriate default constructor availableChris Frey26 Sep