Thread: Bloat

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    16

    Bloat

    Hey everybody,
    I'm new to this board, but I'm getting into Windows C++ programming and I have a couple questions. First off, I usually do all my windows programming in assembly language. But C++ is good to know so I went and got DevC++ and built the skeleton program.
    Then I went and disassembled it.

    A couple of things strike me:
    --I don't want to use winmain or any "entry" code (ex. GetModuleHandle). Can I get rid of it in C++? I'd rather call it myself
    --The string variable for the class name is not put in the data section, it is put in code segment. This is annoying.
    --I would prefer not to have a jump table at the end of my code, can I get rid of this in C++?
    --As with entry code, I would like to handle the exit code (ex. ExitProcess) myself.

    Thanks for any input

    --Chorus

  2. #2
    Unregistered
    Guest
    This may help. I ran across it the other day when I was searching for something else. Or search google for "Under the Hood" and startup code, there may be other links as well.

    http://www.microsoft.com/msj/default...chive/s569.htm

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to write files more faster in C
    By spank in forum C Programming
    Replies: 75
    Last Post: 01-08-2008, 02:15 PM
  2. cause of code bloat
    By shintaro in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 08-19-2006, 08:07 PM
  3. Templates
    By arjunajay in forum C++ Programming
    Replies: 4
    Last Post: 11-16-2005, 11:17 AM
  4. .NET Bloat Using MSVS
    By golfinguy4 in forum Windows Programming
    Replies: 2
    Last Post: 07-20-2005, 02:48 PM
  5. VS .NET 2003 Is Bloat!
    By UnregdRegd in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 02-29-2004, 10:51 PM