Francois Gouget fgouget@free.fr writes:
CreateProcess may modify the command line that was passed as a parameter. It does this not in the current process but in the child process so that the caller may not realize it, but it may hit a snag if the command line is not writable in the first place.
But the command line parameter is a LPSTR, so CreateProcess is allowed to modify it and the caller is not supposed to pass a const string. In what case does this cause a problem?