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

Arthur Barrett arthur.barrett at march-hare.com
Fri Sep 14 06:33:18 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: db2, Configuration: Debug Win32 ------
Compiling...
Db2Connection.cpp
d:\users\abarrett\cvsnt\cvsnt_trunk\cvsapi\db\db2\db2connection.cpp(47) : 
error C2259: 'CDb2Connection' : 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 DB2 installed, but I assumed I'd get a link error, 
not this error.  Is there an #ifdef I can use to disable certain plugins 
like db2 and oracle?

Thanks,


Arthur




More information about the evs-dev mailing list