Properly repeat the GetNextVDMCommand request. Using "continue" there will not work
if the application has been started by a double click, since in that case AcceptCommands
is FALSE.
svn path=/trunk/; revision=63379
if (First) CommandInfo.VDMState |= VDM_FLAG_FIRST_TASK;
+Command:
if (!GetNextVDMCommand(&CommandInfo))
{
if (CommandInfo.EnvLen > EnvSize)
EnvSize = CommandInfo.EnvLen;
Env = HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, Env, EnvSize);
- continue;
+ /* Repeat the request */
+ goto Command;
}
break;