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. ATL / WTL / STL
  4. Size of executable doubles since Windows Update on April 14, 2011

Size of executable doubles since Windows Update on April 14, 2011

Scheduled Pinned Locked Moved ATL / WTL / STL
c++regexannouncementworkspace
6 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.
  • B Offline
    B Offline
    Big Art
    wrote on last edited by
    #1

    My Configuration is VS2008 MFC statically linked app. I have been compiling my app over a 1000 times and am intune with the size of the exe. It has slightly more than doubled in size as of this week ever since the windows update on April 14. For the time being I am compiling at my alternate computer that has "Automatic Windows Update" turned off and get the usual size of the executable. Has anyone else observed this. I have compiled other projects and have noticed the same pattern - exe doubles in size. :|

    B 1 Reply Last reply
    0
    • B Big Art

      My Configuration is VS2008 MFC statically linked app. I have been compiling my app over a 1000 times and am intune with the size of the exe. It has slightly more than doubled in size as of this week ever since the windows update on April 14. For the time being I am compiling at my alternate computer that has "Automatic Windows Update" turned off and get the usual size of the executable. Has anyone else observed this. I have compiled other projects and have noticed the same pattern - exe doubles in size. :|

      B Offline
      B Offline
      barneyman
      wrote on last edited by
      #2

      try turning the MAP file on as a link option, on both machines and compare the output is this release or debug?

      B 1 Reply Last reply
      0
      • B barneyman

        try turning the MAP file on as a link option, on both machines and compare the output is this release or debug?

        B Offline
        B Offline
        Big Art
        wrote on last edited by
        #3

        Thank you for responding barnyman. This is a release build (both of them). Since reporting the problem I have some additional information. I ran both executables (the big and the small one) on the same computer and used the ProcessMonitor tool to determine and compare the dll's that each was loading. The results show the larger exe is loading 4 additional dll's. They are: dwmapi.dll msimg32.dll winmm.dll gdiplus.dll I am not using any code the needs these dll's. In my projects settings: Linker->Input->Ignore Specific Libray settings, I blocked all of the lib files that depend on these dll's and can't compile the project. This tells me there is some new dependency that has formed. In searching the Internet I learned that programmers that have moved to VS2010 are having the same problem. It seems there are some MFC files that have some built in dependencies to the MFC feature pack even though their project is not using them. I suspect that is what is going on with my project even though I am still using VS2008. The most latest Windows update made that happen. (I have used the MFC feature pack in some other projects but don't do that anymore. I can do it all without it.) This experience gives new meaning to the concept of VC_EXTRALEAN and dare I say WIN32_LEAN_AND_MEAN from back in the day. More to come. Once again thanks for your time barneyman. Art

        H 1 Reply Last reply
        0
        • B Big Art

          Thank you for responding barnyman. This is a release build (both of them). Since reporting the problem I have some additional information. I ran both executables (the big and the small one) on the same computer and used the ProcessMonitor tool to determine and compare the dll's that each was loading. The results show the larger exe is loading 4 additional dll's. They are: dwmapi.dll msimg32.dll winmm.dll gdiplus.dll I am not using any code the needs these dll's. In my projects settings: Linker->Input->Ignore Specific Libray settings, I blocked all of the lib files that depend on these dll's and can't compile the project. This tells me there is some new dependency that has formed. In searching the Internet I learned that programmers that have moved to VS2010 are having the same problem. It seems there are some MFC files that have some built in dependencies to the MFC feature pack even though their project is not using them. I suspect that is what is going on with my project even though I am still using VS2008. The most latest Windows update made that happen. (I have used the MFC feature pack in some other projects but don't do that anymore. I can do it all without it.) This experience gives new meaning to the concept of VC_EXTRALEAN and dare I say WIN32_LEAN_AND_MEAN from back in the day. More to come. Once again thanks for your time barneyman. Art

          H Offline
          H Offline
          Hans Dietrich
          wrote on last edited by
          #4

          Please let us know if you find a way around this.

          Best wishes, Hans


          [Hans Dietrich Software]

          B 1 Reply Last reply
          0
          • H Hans Dietrich

            Please let us know if you find a way around this.

            Best wishes, Hans


            [Hans Dietrich Software]

            B Offline
            B Offline
            Big Art
            wrote on last edited by
            #5

            The problem has been fixed with the recent June 15, 2011 Windows update. Back to normal. What a relief!

            H 1 Reply Last reply
            0
            • B Big Art

              The problem has been fixed with the recent June 15, 2011 Windows update. Back to normal. What a relief!

              H Offline
              H Offline
              Hans Dietrich
              wrote on last edited by
              #6

              Thanks for letting us know.

              Best wishes, Hans


              [Hans Dietrich Software]

              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