Re: [fpc-pascal] How to handle External:SIGPIPE on linux

2013-06-01 Thread Dennis Poon
Ewald, Please kindly share your sample codes for both approaches. Thanks a lot. Dennis Ewald wrote: On 31 May 2013, at 13:31, Dennis wrote: Is there something I can do to trap this external SIGPIPE? You might try catching the signal using fpSignal

Re: [fpc-pascal] How to handle External:SIGPIPE on linux

2013-06-01 Thread Ewald
On 01 Jun 2013, at 08:51, Dennis Poon wrote: Ewald, Please kindly share your sample codes for both approaches. Thanks a lot Right, here you go: *** fpSignal() *** First you declare a function which is going to handle the signal (SignalHandler in my example), then you just call

[fpc-pascal] Tree data structure

2013-06-01 Thread Xiangrong Fang
Hello, Is there any built-in general Tree data structure in FPC/Lazarus library? General means: 1) it is a generic class or its node is a pointer which is suitable for general use 2) it is NOT balanced tree or binary tree, but just like a file system tree. In another word, I am looking for a

Re: [fpc-pascal] Tree data structure

2013-06-01 Thread Sven Barth
On 01.06.2013 15:51, Xiangrong Fang wrote: Hello, Is there any built-in general Tree data structure in FPC/Lazarus library? General means: 1) it is a generic class or its node is a pointer which is suitable for general use 2) it is NOT balanced tree or binary tree, but just like a file

[fpc-pascal] FPC to create PHP extensions for Linux

2013-06-01 Thread m...@rpzdesign.com
Anybody have an opinion about writing dynamic extensions for PHP in free pascal? The samples and discussion at: http://community.freepascal.org/bboards/message?message_id=342130forum_id=24082 Indicates PHPToolkit, but all of the definitions inside these file are way out of date. My current