[fpc-pascal] Re: Redis client for object Pascal

2012-01-23 Thread ik
On Fri, Jan 20, 2012 at 22:18, ik wrote: > Hello, > > I've started to work on protocol implementation for Redis. > It seems that there isn't even one implementation for it for Pascal > (including Delphi). > > At the moment it is built to work only with Synapse, however after the > first implement

[fpc-pascal] understanding heaptrc and collection init()

2012-01-23 Thread waldo kitty
i'm trying to understand what heaptrc is telling me... i have two collections that are set up, filled, used and disposed of... at the end of the program run, heaptrc pops up and tells me how much memory was allocated... here's the definitions... Tcat_nbr = pstring; Tsat_name = pstring

Re: [fpc-pascal] Re: Access violation that I do not understand while creating a class instance

2012-01-23 Thread Jürgen Hestermann
ik schrieb: > PChar is an array like approach. AnsiString, is a record based pointer. It uses more memory, and provide a bit overhead for the same thing. > At least on theory. I would love to learn that it's not the case. AnsiString stores and keeps track of the string length and this has many

Re: [fpc-pascal] Re: Access violation that I do not understand while creating a class instance

2012-01-23 Thread Henry Vermaak
On 23/01/12 15:38, ik wrote: PChar is an array like approach. AnsiString, is a record based pointer. AnsiString also stores the string in an array. It is dynamic, though, so it stores the size and also reference count. It uses more memory, and provide a bit overhead for the same thing. At

Re: [fpc-pascal] Re: Access violation that I do not understand while creating a class instance

2012-01-23 Thread ik
On Mon, Jan 23, 2012 at 17:10, Henry Vermaak wrote: > On 23/01/12 14:56, ik wrote: > >> On Mon, Jan 23, 2012 at 16:28, ik > > wrote: >> >>Hello, >> >>In the following code >>(https://github.com/ik5/redit_**client.fpc/blob/master/tests/** >> test_parser.lpr#L55<

Re: [fpc-pascal] Re: Access violation that I do not understand while creating a class instance

2012-01-23 Thread Henry Vermaak
On 23/01/12 14:56, ik wrote: On Mon, Jan 23, 2012 at 16:28, ik mailto:ido...@gmail.com>> wrote: Hello, In the following code (https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55), when I point, I have access violation when trying to create TRedisE

[fpc-pascal] Re: Access violation that I do not understand while creating a class instance

2012-01-23 Thread ik
On Mon, Jan 23, 2012 at 16:28, ik wrote: > Hello, > > In the following code ( > https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55), > > when I point, I have access violation when trying to create > TRedisErrorReturnType.Create > > It does not happen for TRedisStatusRet

[fpc-pascal] Access violation that I do not understand while creating a class instance

2012-01-23 Thread ik
Hello, In the following code ( https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55), when I point, I have access violation when trying to create TRedisErrorReturnType.Create It does not happen for TRedisStatusReturnType.Create for example, that have the same parent as T

[fpc-pascal] iptableslogparser released was Re: IPTables log parser?

2012-01-23 Thread Reinier Olislagers
On 19-1-2012 10:51, ik wrote: > On Thu, Jan 19, 2012 at 11:37, Reinier Olislagers > mailto:reinierolislag...@gmail.com>> wrote: > I noticed ik has started a project to manipulate Linux iptables firewall > rules... which got me thinking. > > Is there any FreePascal/Delphi code lying aro