You are right. I've followed the source code in crtexe.c and watched the program's executing sequences. And can you tell me why the OS must do this? Is it because of the relocating? Thanks!
frankgt40
Posts
-
About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work? -
About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work?I already know that. And I just want more materials. This is the word describing. How can I get the concrete principles and explanations of the related Library sources. I searched the item on MSDN website but there is little materials of that subject.
-
About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work?Tanks for answering. I'm now reading the MFC internals. I want to know the principle MFC works on.
-
About wWinMainCRTStartup. Can anybody tell me what it exactly is? How does it work?When I ask what it exactly is, there are always someone told me that the wWinMainCRTStartup is the real entrance of the windows programs. And when you code with UNICODE you should set it with VC++. I found that this wWinMainCRTStartup function was called before the global object of 'CxxxApp' being constructed. It's called before the programs running. Can anybody tell what it exactly is? Is it involved with OS or compiler? Where does the Windows programs actually start and how? Or, are there any good books or references to be read for that? Thanks a lot!