Thread: Fat & Chunky applications

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Thumbs down Fat & Chunky applications

    I am writing to ask why my applications (made in VC++) are so big in file size. If I write a simple window (no buttons or bitmaps) in VC++ it compiles and executes fine, but is over 150kb (see attatchment if u want) in file size. This is HUGE and I cannot understand why, considering all the header files I use is <windows.h> and sometimes <windowsx.h>. I also #define WIN32_LEAN_AND_MEAN to get rid of MFC stuff.

    I was wondering whether there was any way of making the files smaller.
    Thank you
    - Paul Lucas (the Flucas)

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    Have you set the active mode as Release?
    [BUILD]->Set Active Configuration

    My app is 1,295Kb in debug and 1045Kb in release (20%).
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Get Installed applications list and applications activity
    By arunarora in forum C++ Programming
    Replies: 5
    Last Post: 05-25-2009, 09:41 AM
  2. Task Manager: Applications vs Processes
    By Shwick in forum Windows Programming
    Replies: 3
    Last Post: 08-14-2008, 06:47 AM
  3. A question about windows programming
    By Hussain Hani in forum Windows Programming
    Replies: 16
    Last Post: 05-23-2007, 07:38 AM
  4. How to loop a function
    By Unregistered in forum C Programming
    Replies: 12
    Last Post: 04-14-2002, 12:52 PM