Re: GenEnvironmentVariable and CreateProcess failures under XP

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: LarryH (anonymous_at_discussions.microsoft.com)
Date: 04/27/04


Date: Tue, 27 Apr 2004 11:51:02 -0700

Thanks to all for the informative responses! You helped me solved the problem. There was a design flaw in the code that caused the PATH to exceed the maximum 260 characters when a user launched several proceses in rapid succession - a design flaw that had no impact until the users became proficient enough to work very quickly and received new faster workstations that could launch the processes much more quickly.

Where did I get my understanding of the CreateProcess API? - I am guilt of relying on a middle-aged memory instead of re-reading the documentation (an "RTFM fault" in the developer!)

Thanks again!