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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need to Repair afxwin.h

Need to Repair afxwin.h

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studioquestion
6 Posts 4 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.
  • E Offline
    E Offline
    Eurosid
    wrote on last edited by
    #1

    Dammit! I screwed up the CWinApp class in my copy of "afxwin.h". (Because I did something dumb.) :sigh: I don't have install media, because company policy doesn't allow it. I can put in a call to get VS reinstalled, but that will take a long time. Does anybody have a suggestion on how I can restore that file? It's VS 2005.

    D G N 3 Replies Last reply
    0
    • E Eurosid

      Dammit! I screwed up the CWinApp class in my copy of "afxwin.h". (Because I did something dumb.) :sigh: I don't have install media, because company policy doesn't allow it. I can put in a call to get VS reinstalled, but that will take a long time. Does anybody have a suggestion on how I can restore that file? It's VS 2005.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Eurosid wrote:

      I can put in a call to get VS reinstalled, but that will take a long time.

      A long time because the folks in IT are not located in the same building as you? :confused:

      "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

      "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

      E 1 Reply Last reply
      0
      • E Eurosid

        Dammit! I screwed up the CWinApp class in my copy of "afxwin.h". (Because I did something dumb.) :sigh: I don't have install media, because company policy doesn't allow it. I can put in a call to get VS reinstalled, but that will take a long time. Does anybody have a suggestion on how I can restore that file? It's VS 2005.

        G Offline
        G Offline
        GuimaSun
        wrote on last edited by
        #3

        You can try this http://www.cppdoc.com/example/mfc/classdoc/MFC/AFXWIN.H.html[^] ...by your own risk :) Sorry I don't have vs2005 installed here to check this version, but I can see it's different from my vs2008 version.

        GuimaSun www.nexsun.com.br NEXSUN TechZone

        E 1 Reply Last reply
        0
        • D David Crow

          Eurosid wrote:

          I can put in a call to get VS reinstalled, but that will take a long time.

          A long time because the folks in IT are not located in the same building as you? :confused:

          "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

          "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

          E Offline
          E Offline
          Eurosid
          wrote on last edited by
          #4

          They aren't even on the same continent any more. I'm in the US, they're in India. Installs are now done via Remote Desktop. It's more efficient that way.

          1 Reply Last reply
          0
          • G GuimaSun

            You can try this http://www.cppdoc.com/example/mfc/classdoc/MFC/AFXWIN.H.html[^] ...by your own risk :) Sorry I don't have vs2005 installed here to check this version, but I can see it's different from my vs2008 version.

            GuimaSun www.nexsun.com.br NEXSUN TechZone

            E Offline
            E Offline
            Eurosid
            wrote on last edited by
            #5

            It's seems identical to AfxWin.h from Visual Studio 6. Thanks for the link, but it doesn't seem to be the right version for 2005.

            1 Reply Last reply
            0
            • E Eurosid

              Dammit! I screwed up the CWinApp class in my copy of "afxwin.h". (Because I did something dumb.) :sigh: I don't have install media, because company policy doesn't allow it. I can put in a call to get VS reinstalled, but that will take a long time. Does anybody have a suggestion on how I can restore that file? It's VS 2005.

              N Offline
              N Offline
              Nishad S
              wrote on last edited by
              #6

              Why can't ask one your colleague to send that file to you?

              - ns ami -

              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