Blog

Learning from your own stupidities

November 15, 2006

Today I learned something that I never considered before: I didn't realize (until today) that the maximum command line length for the CreateProcess Win32 API function is 32767 characters (pszCmdLine parameter). I'm not going to tell you how I figured this out (actually I figured it out the hard way, but I don't want to end up as the next subject on The Daily WTF). You can read more about it here and you can find a solution for it here.

So kids, be warned and don't try this at home ;-).

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be