Juan Lang juan_lang@yahoo.com writes:
This is the same executable, so it isn't a different _CRTMainStartup. I think this supports Frank's assertion.
No, the interesting case is what happens with CreateProcess. Launching the app from cmd.exe doesn't tell you anything, because you don't know exactly what arguments cmd.exe passed to CreateProcess.