MySQL Forums
Forum List  »  Connector/C++

Re: error C2259 on Visual C++ Express 2008
Posted by: Ulf Wendel
Date: April 22, 2009 09:27AM

You are not supposed to instantiate sql::Connection directly, sql::Connection is abstract. sql::mysql::MySQL_Connection is not. However, the driver's class connect() method should be used to obtain a connection object.

There are several examples in the source download package ( ). Please grab a source download and have a look at them.

For example, the standalone one should work fine as a starting point.


Options: ReplyQuote

Written By
Re: error C2259 on Visual C++ Express 2008
April 22, 2009 09:27AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.