Re: [fpc-pascal] Measure used memory of a process using TProcess.

2015-04-23 Thread Kiên Nguyễn Tiến Trung
Thank you. 2015-04-22 14:34 GMT+07:00 Michael Van Canneyt mich...@freepascal.org: On Tue, 21 Apr 2015, Kiên Nguyễn Tiến Trung wrote: I want to execute a command using TProcess and get the amount of memory used by the command. Is it possible? I'm finding a solution working on both Linux

[fpc-pascal] Measure used memory of a process using TProcess.

2015-04-21 Thread Kiên Nguyễn Tiến Trung
I want to execute a command using TProcess and get the amount of memory used by the command. Is it possible? I'm finding a solution working on both Linux and Windows. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Linux, keypressed, readkey

2014-12-19 Thread Kiên Nguyễn Tiến Trung
Units keyboard, video, mouse are strongly better than unit crt. I recommend you to use them. 2014-12-19 20:36 GMT+07:00 Tomas Hajny xhaj...@hajny.biz: On Fri, December 19, 2014 13:54, Rainer Stratmann wrote: Is it possible to do keypressed and readkey directly with a systemcall in

[fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Could you please explain this problem? I think that Loading method should be called by streaming system. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] When loading a TComponent from file, method Loaded fired but method Loading not.

2014-12-17 Thread Kiên Nguyễn Tiến Trung
Thank you very much. 2014-12-18 2:52 GMT+07:00 Michael Van Canneyt mich...@freepascal.org: On Wed, 17 Dec 2014, Kiên Nguyễn Tiến Trung wrote: Could you please explain this problem? I think that Loading method should be called by streaming system. This is by design. The state

Re: [fpc-pascal] Generic specialization using $mode objfpc

2014-10-30 Thread Kiên Nguyễn Tiến Trung
AFAIK, you must create a new type: type TMyGenericInt = specialize TMyGenericInteger; var VMyGenericInt: TMyGenericInt; begin VMyGenericInt:= TMyGenericInt.Create; VMyGenericInt.Value := 2014; VMyGenericInt.Free; end. 2014-10-31 2:14 GMT+07:00 silvioprog

[fpc-pascal] I can't compile gvector.pp in package fcl-stl

2014-10-04 Thread Kiên Nguyễn Tiến Trung
Hello, I can't compile following file https://github.com/graemeg/freepascal/blob/master/packages/fcl-stl/src/gvector.pp I want to use this unit because fcl-stl in fpc-2.6.4 is very old. Can you show me the way to compile above file? Thank you. ___

Re: [fpc-pascal] I can't compile gvector.pp in package fcl-stl

2014-10-04 Thread Kiên Nguyễn Tiến Trung
Thank you. I'll wait for fpc-2.8.0. 2014-10-05 4:10 GMT+07:00 Sven Barth pascaldra...@googlemail.com: Am 04.10.2014 13:17 schrieb Kiên Nguyễn Tiến Trung kc97...@gmail.com: Hello, I can't compile following file https://github.com/graemeg/freepascal/blob/master/packages/fcl-stl/src