Re: [fpc-pascal] Tree data structure

2013-06-01 Thread Graeme Geldenhuys
On 2013-06-01 14:51, Xiangrong Fang wrote: > In another word, I am looking for a lightweight, pure "data" class that is > TTreeView without a GUI binding. You can use tiOPF's base classes: TtiObjectList and TtiObject. tiOPF can be used without the persistence part - simply as data containers and

[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=342130&forum_id=24082 Indicates PHPToolkit, but all of the definitions inside these file are way out of date. My current

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 f

[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 fo

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