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. Other Discussions
  3. IT & Infrastructure
  4. VC60 exe size?

VC60 exe size?

Scheduled Pinned Locked Moved IT & Infrastructure
c++questionannouncement
3 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.
  • M Offline
    M Offline
    michael 0
    wrote on last edited by
    #1

    VC60, Win98, MFC I have been building a release build of my project for a year and the size of my release exe has always been around 8Meg. Suddenly my exe Release build compiles an exe file to the whapping size of 41Meg. Is there something obvious that I am missing?

    P 1 Reply Last reply
    0
    • M michael 0

      VC60, Win98, MFC I have been building a release build of my project for a year and the size of my release exe has always been around 8Meg. Suddenly my exe Release build compiles an exe file to the whapping size of 41Meg. Is there something obvious that I am missing?

      P Offline
      P Offline
      Petrica
      wrote on last edited by
      #2

      Maybe you compile static linked with mfc? Try to compile with shared library.

      M 1 Reply Last reply
      0
      • P Petrica

        Maybe you compile static linked with mfc? Try to compile with shared library.

        M Offline
        M Offline
        mrcoder
        wrote on last edited by
        #3

        I tried that. However thank you for your response. The problem turned out to be the resource file. For some reason it increased in size to 25M! I restored my backup resource, recompiled, and the EXE file was now 1M. Recompiling my project resulted in a total exe size back to the original 4M.

        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