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 ?
Thanks
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mai
I'm on Linux. I've no idea how TProcess is compiled actually.
I discovered the problem with command passed into an ansistring and to
test I also reproduced with a GTK_Entry Text (dont know how it is passed
internally)
Thanks.
> I use TProcess.CommandLine very often and I discovered that it s
> 2.2.x or 2.3.x?
I used the 2.2.0 (provided by Ubuntu repositories).
Then I just upgraded and tested in 2.2.2-8 but problem is still the same :(
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/
Thanks ! Changing "TheCommand" to ansistring seems work !
Did not think about this simple thing.
I'm testing more deeply. Thanks again.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Please provide a compilable program that demonstrates the problem.
Jonas
Create a myini.ini file containing :
[TEST]
CMD_OK=echo 'Hello !'
CMD_NOT_OK=mencoder dvb://M6 -sws 9 -of lavf -lavfopts format=mp4 -vf
scale=480:320,dsize=480:320,harddup -ovc x264 -x264encopts
bitrate=500:vbv_maxr
Hello,
The simple program below fails when compiling (2.2.2-8 and 2.2.4rc1) :
program TEST_TRY;
uses SysUtils, strutils;
Function IsNumber(ValueToCheck:string):boolean;
begin
try
StrToInt(ValueToCheck);
IsNumber := true;
except
IsNumber := false;
end;
end;
begin
If IsNumber('123')
Thanks for your answer. I'm a newbie so I still have a few questions :o) :
1. I'm unsure of chronology of things to do in the program body. Is the
following correct :
a) Create GTK stuff
b) SDL Hack/SDL_WINDOWID
c) SDL_INIT
d) Show GTK widgets
2. You mentioned "this is for gtk1 onl
Thanks a LOT Andrew ! Your example is very nice !
Tom
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
I'd like to be able to run an external program (a kind of daemon) and
then grab his output "information by information" and in REAL TIME. Then
in the caller/main program I will test the output (with IF or CASE
statements) and act accordingly.
If it seems possible to test on output I hav
Hi
I want to use IPC Shared Memory mecanism to enable communication between
Linux processes. I followed doc example
(http://community.freepascal.org:1/docs-html/rtl/ipc/shmctl) which
works fine.
However I'm unable to find how the handle multiple variables (or may be
an array).
Should I h
10 matches
Mail list logo