Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. about 101 errors when i run default MFC dialog app in VC++ 2005

about 101 errors when i run default MFC dialog app in VC++ 2005

Scheduled Pinned Locked Moved C / C++ / MFC
c++visual-studiohelpquestioncsharp
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    CHYGO
    wrote on last edited by
    #1

    when i run a default MFC dialog app in VC++ 2005(i don't add any code),there are 101 errors in the afxwin.h, what is the problem? :( PS:parts of errors: 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2061: syntax error : identifier 'message' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : warning C4183: 'ON_MESSAGE': missing return type; assumed to be a member function returning 'int' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2059: syntax error : ',' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2238: unexpected token(s) preceding ';' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2101) : error C2061: syntax error : identifier 'message' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2101) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

    i 've tried ,then i have no regret

    M 1 Reply Last reply
    0
    • C CHYGO

      when i run a default MFC dialog app in VC++ 2005(i don't add any code),there are 101 errors in the afxwin.h, what is the problem? :( PS:parts of errors: 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2061: syntax error : identifier 'message' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : warning C4183: 'ON_MESSAGE': missing return type; assumed to be a member function returning 'int' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2059: syntax error : ',' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2100) : error C2238: unexpected token(s) preceding ';' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2101) : error C2061: syntax error : identifier 'message' 1>e:\programming ide\microsoft\visual studio 2005\vc\atlmfc\include\afxwin.h(2101) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

      i 've tried ,then i have no regret

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      CHYGO wrote:

      a default MFC dialog app

      What's a "default MFC dialog app"? Was the project created with the VS 2005 wizard? If so, which project type? Mark

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      C 1 Reply Last reply
      0
      • M Mark Salsbery

        CHYGO wrote:

        a default MFC dialog app

        What's a "default MFC dialog app"? Was the project created with the VS 2005 wizard? If so, which project type? Mark

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        C Offline
        C Offline
        CHYGO
        wrote on last edited by
        #3

        e,i mean it was created with the VS 2005 wizard, the project type is MFC application

        i 've tried ,then i have no regret

        M 1 Reply Last reply
        0
        • C CHYGO

          e,i mean it was created with the VS 2005 wizard, the project type is MFC application

          i 've tried ,then i have no regret

          M Offline
          M Offline
          messages
          wrote on last edited by
          #4

          Whats application type Dialog/SDI/MDI?

          C 1 Reply Last reply
          0
          • M messages

            Whats application type Dialog/SDI/MDI?

            C Offline
            C Offline
            CHYGO
            wrote on last edited by
            #5

            i've tried to create Dialog/SDI/MDI,and the errors are the same

            i 've tried ,then i have no regret

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups