[evs-dev] error C2259: 'COracleConnection' : cannot instantiate abstract class

Arthur Barrett arthur.barrett at march-hare.com
Fri Sep 14 06:33:34 BST 2007


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony,

While compiling EVS from cvs.cvsnt.org using VS.NET 2005 I get:

------ Build started: Project: oracle, Configuration: Debug Win32 ------
Compiling...
OracleConnection.cpp
d:\users\abarrett\cvsnt\cvsnt_trunk\cvsapi\db\oracle\oracleconnection.cpp(40) 
: error C2259: 'COracleConnection' : cannot instantiate abstract class
        due to following members:
        'bool CSqlConnection::Drop(void)' : is abstract
        d:\users\abarrett\cvsnt\cvsnt_trunk\cvsapi\sqlconnection.h(43) : see 
declaration of 'CSqlConnection::Drop'


I do not actually have Oracle 10 installed on this box but I assumed I'd get 
a link error, not this error.  Is there an #ifdef I can use to disable 
certain plugins like oracle and db2?

Thanks,


Arthur




More information about the evs-dev mailing list