CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2011
    Posts
    29

    unresolved external symbol vftable

    Hi,

    i have this error compiling a vs2008 project:

    unresolved external symbol "__declspec(dllimport) const CFileCodManager::`vftable'"

    I search but i didn't found a solution...

    How can i solve it?

  2. #2
    Join Date
    Feb 2002
    Posts
    4,640

    Re: unresolved external symbol vftable

    You have something that uses CFileCodManager as a base class, but you don't link with the library that contains the class CFileCodManager?

    Viggy

  3. #3
    Join Date
    Mar 2011
    Posts
    29

    Re: unresolved external symbol vftable

    But the error is given in the FileCodMAnager.onj..

    is here the complete error:

    FileCodManager.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) const CFileCodManager::`vftable'" (__imp_??_7CFileCodManager@@6B@) referenced in function "public: __thiscall CFileCodManager::CFileCodManager(void)" (??0CFileCodManager@@QAE@XZ)

  4. #4
    Join Date
    Feb 2002
    Posts
    4,640

    Re: unresolved external symbol vftable

    Post the code (header and source), and please use code tags.

    Viggy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured