CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Posts
    1

    Angry CDialog and Cdialogex link error

    Hello,

    I have a project in Visual C++, and it works well in Visual Studio 2005. I convert it to Visual Studio 2010, and everything went well, compiled and linked wihtout problems.

    Then, I tried to add a new Dialog; the system added a Cdialogex (instead of the Cdialog that I used to use). I didin't realize that, and I go ahead, then compiled, and then I got a link error on all my previous Cdialog that I have:

    Error 80 error LNK2001: sÃ*mbolo externo "public: virtual void __thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@UAEXXZ) sin resolver D:\proyectos010\MVFlexCGPlayer\VideoPlayConfigurationLE.obj

    Any ideas about the problem?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: CDialog and Cdialogex link error

    Did you try to "Rebuild All" (rebuild the project)?
    Victor Nijegorodov

  3. #3
    Join Date
    Mar 2001
    Posts
    2,529

    Re: CDialog and Cdialogex link error

    And did you use an extern?
    ahoodin
    To keep the plot moving, that's why.

Tags for this Thread

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