[fpc-pascal] Problem with threads and cwstrings

2008-06-17 Thread Alexander Bauer
Hi, i have a problem when i use cwstrings together with threads on linux. I made a simple program which create threads in an endless loop. Every thread only does a sleep(1) and then finish. Without 'cwstrings' everything works fine. But when i include 'cwstrings' the program eats more and more

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Lourival Mendes
Thanks Paul 2008/6/17 Paul Nicholls <[EMAIL PROTECTED]>: > "Lourival Mendes" <[EMAIL PROTECTED]> > wrote in message > news:[EMAIL PROTECTED] >> >> Dear all users, >> >> I'm looking for an unity for calculus of some more complex >> functions in Pascal than those avaiable in the Delphi math.pas un

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Paul Nicholls
"Lourival Mendes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of som

[fpc-pascal] Best way to use lists

2008-06-17 Thread Michael Fuchs
Hello, I try to implement some lists, so I can use them like the "List(of X)" in VB.NET. What is the best way to do this? 1.) Make some new classes, derived from TFPObjectList and overwrite the Add/Extract/Remove/... -functions? 2.) Make a new class with a private TFPObjectList and hand over th

[fpc-pascal] MPL, LGPL rehashed again

2008-06-17 Thread Graeme Geldenhuys
Hi, I know there has been numerous threads about different licenses. I've got 1.5 years of archived mails and searched through all of them and read all related threads on the subject, yet I still have some questions. Some product background: I work for Master Maths, which is in the franchising bu

Re: [fpc-pascal] XML DOM and HTML

2008-06-17 Thread Lee Jenkins
Johannes Nohl wrote: Dear list, dear Michael! There are multiple problems with HTML parsing: HTML is not a well-formed XML document, because - the tags are case insensitive (in XML they are case sensitive) - Not all tags must be closed. If the HTML is XHTML, then the DOM unit can be used to par

[fpc-pascal] Aservia EndThread discovery

2008-06-17 Thread L
I found an issue in Aservia where linux was opening threads and not closing them. Using OpenWebLoad or Apache Bench the server would simply hang up after 380 requests (threads) were opened. Sometimes using a home web server, one has less than 380 threads ever opened in his application over a

[fpc-pascal] Best way to use lists

2008-06-17 Thread Michael Fuchs
Hello, I try to implement some lists, so I can use them like the "List(of X)" in VB.NET. What is the best way to do this? 1.) Make some new classes, derived from TFPObjectList and overwrite the Add/Extract/Remove/... -functions? 2.) Make a new class with a private TFPObjectList and hand ove

[fpc-pascal] Installing 2.3.1

2008-06-17 Thread Lee Jenkins
Hey, all is there a snapshot available for 2.3.1? I tried downloading the fpbuild kit and go woefully lost :) I'd like to upgrade, but not sure how get a good binary installation on my Win32 box. Thanks a bunch. -- Warm Regards, Lee ___ fpc-p

[fpc-pascal] Deamon & signals

2008-06-17 Thread Koenraad Lelong
Hi, I'm trying to make a daemon, to run on Linux. I got a testversion working, but I have a question about signals. I can respond to signals but every signal I didn't define stops the daemon, in an "unmanageable" way. Is this the proper behaviour ? The source : program my_service; {$ifdef FPC}{$m

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Lourival Mendes
Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of some signal data. Does the FPC has some? Is it possible to use it in Delphi ? Does