S
sriram_sasken
Guest
I am porting an application from VC6 to VS2015. when I am building after including all the header files I am getting the following error
Error C2079 'IDBConnection' uses undefined class 'MIDBODBC::__MIDBODBC_EXPORT_MODE__'
I have included the header file.. but still I get this.
The class where IDBConnection is declared is like this:
namespace MIDBODBC
{
class __MIDBODBC_EXPORT_MODE__ IDBConnection : public CObject
{
protected :
CDatabase* m_pDBPtr;
CMIPLOG m_pLog;
int m_nDBConnectionIndex;
int m_nDBPoolWorkerIndex;
.....
.....
}
Can someone pl suggest how to tackle this error
Continue reading...
Error C2079 'IDBConnection' uses undefined class 'MIDBODBC::__MIDBODBC_EXPORT_MODE__'
I have included the header file.. but still I get this.
The class where IDBConnection is declared is like this:
namespace MIDBODBC
{
class __MIDBODBC_EXPORT_MODE__ IDBConnection : public CObject
{
protected :
CDatabase* m_pDBPtr;
CMIPLOG m_pLog;
int m_nDBConnectionIndex;
int m_nDBPoolWorkerIndex;
.....
.....
}
Can someone pl suggest how to tackle this error
Continue reading...