[fpc-pascal] TProcess.CommandLine > 255 fails

Tomas Hajny XHajT03 at mbox.vol.cz
Sat Jan 3 15:06:36 CET 2009


On 2 Jan 09, at 22:15, T.Guilleminot wrote:


Hi,

> I use TProcess.CommandLine very often and I discovered that it seems 
> limited to 255 chars.
> Does anyone know how to workaround this limitation ?

Which target/operating system? I assume that your code using TProcess 
is compiled with {$H+} or in {$MODE DELPHI} (or that you declared the 
respective variables as ansistrings explicitly?

Tomas




More information about the fpc-pascal mailing list