cannot compile prepared_statement.cpp
Hello to everybody
I'm having problems trying to compile the example prepared_statement.cpp included in the c++ connector sources with Visual Studio 2010, particularly, I get the following errors on this statement:
std::auto_ptr< sql::PreparedStatement > prep_stmt(con->prepareStatement("DROP TABLE IF EXISTS test"));
prep_stmt->execute();
The compiler says that "pointer (prep_stmt) to an incomplete class type is not allowed"
Any clue?
Thanks in advance.
Subject
Views
Written By
Posted
cannot compile prepared_statement.cpp
3475
December 10, 2013 05:32AM
1566
December 11, 2013 03:06AM
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.