CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #1
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869

    [RESOLVED] New MFC Project Errors

    I finally broke down and installed Visual C++ 2010 on my PC. I go to try a silly example by generating an MFC project and building it. I used defaults and entered no new code but I end up with 8 errors (well three really, given duplicates).

    How can I fix this?
    Code:
    Error	4	error C2504: 'CDialogEx' : base class undefined	c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxribbonkeyboardcustomizedialog.h	35	1	Ex1_04
    
    Error	1	error C2146: syntax error : missing ';' before identifier 'm_Impl'	c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxdialogex.h	60	1	Ex1_04
    
    Error	2	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxdialogex.h	60	1	Ex1_04
    Last edited by Tom Frohman; March 9th, 2012 at 08:22 PM.
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

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