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
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.