. Getting error C2079: IDBConnection uses unknown class RRS feed

  • Question

  • 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

    Wednesday, January 29, 2020 8:35 AM

All replies

  • This is the C# forum. Is your question about C++?

    Michael Taylor http://www.michaeltaylorp3.net

    Friday, January 31, 2020 3:12 PM
  • Hi sriram_sasken,

    According to your description, your issue is more related to C++. Therefore, it will be more appropriate to ask your question in C++ Forums
    The C# forum is for C# related question, we discuss and ask the C# programming language, IDE, libraries, samples and tools here. 

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Tuesday, February 4, 2020 1:29 AM