Re: [fpc-devel] Program Stopped

2008-02-11 Thread Leonardo M. Ram
Thanks Joost. But, I remember this worked ok some time ago, in the same machine. Anyway, I'll try 'setenforce permissive' tomorrow. --- Joost van der Sluis <[EMAIL PROTECTED]> wrote: > To turn off selinux on fedora core 5, just type 'setenforce permissive' > in a terminal. > > Op maandag 11-02

Re: [fpc-devel] Program Stopped

2008-02-11 Thread Leonardo M. Ram
I'll try on another box with Suse 10.2 (I've tested on Fedora Core 5) to see what happen... Thanks Marco. --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > > Yes, I run as root. Also I tested using different ports, I.E. 85, 3337, > > 1. > > Then I'm running out of steam. I've hardly any

Re: [fpc-devel] Program Stopped

2008-02-11 Thread Leonardo M. Ram
Yes, I run as root. Also I tested using different ports, I.E. 85, 3337, 1. --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > > Yes, of course. If I don't include CThreads the program complains about > > including it. > > Then, do you run as root? Binding to below 1024 ports might not be a

Re: [fpc-devel] Program Stopped

2008-02-11 Thread Leonardo M. Ram
Yes, of course. If I don't include CThreads the program complains about including it. --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > > I've found an strange problem in Linux when executing a simple threaded > > program (Synapse's > > httpserver demo) compiled with fpc 2.2.0 from > > ftp://

[fpc-devel] Program Stopped

2008-02-11 Thread Leonardo M. Ram
I've found an strange problem in Linux when executing a simple threaded program (Synapse's httpserver demo) compiled with fpc 2.2.0 from ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip When I execute the program with "./httpserver", the program starts stopped. When I compile

[fpc-devel] Unit search error?

2007-12-04 Thread Leonardo M. Ram
When trying to compile Zeos lib using FPC 2.2.0 and 2.3.1, the compiler complains with a "Can't find unit ZAbstractRODataset", but the file is there, with exactly that name. After some minutes trying to figure out what was the problem, I renamed the unit to its lowercase version, "zabstractrodat

Re: [fpc-devel] Attachments

2007-11-06 Thread Leonardo M. Ram
> If you have large files you like to share, please post them on a website > and link to them, that is much more desirable. Ok, next time i'll do that. Thank you. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around

[fpc-devel] Attachments

2007-11-06 Thread Leonardo M. Ram
Are you planning to create a new list with Attachments enabled? or enabling them in this list? Yesterday I'd try to post a response with a code example and never was posted to the list. Leonardo M. Ramé http://leonardorame.blogspot.com __ Do Y

[fpc-devel] Dnamic packages support

2007-11-03 Thread Leonardo M. Ram
Reading a post in "public.mseide-msegui.talk", the mseide discussion list, I found this: "Florian has committed the beginning of dynamic packages support". With "Dynamic Packages" you mean a platform independent way of implementing something similar to .Dlls (or .bpl)? without creating each lib

[fpc-devel] Solaris X86

2007-11-03 Thread Leonardo M. Ram
My company bought an amazing Sun Ultra 40 M2 Workstation, with two Opteron processors and Solaris 10 installed. This machine will be used as a demo server for a third party java app we sell, but since we'll be porting some Delphi services to Linux and FreeBsd, I want to test them also in Solaris

Re: [fpc-devel] errorhe translations

2007-11-02 Thread Leonardo M. Ram
Reading a post in "public.mseide-msegui.talk", the mseide discussion list, I found this: "Florian has committed the beginning of dynamic packages support". With "Dynamic Packages" you mean a platform independent way of implementing something similar to .Dlls (or .bpl)? without creating each lib

Re: [fpc-devel] Enabling use of {$R *.dfm} on Windows

2007-07-23 Thread Leonardo M. Ram
Can you give us the the mailing list addess? I can't find it on the web site. --- Michael Schnell <[EMAIL PROTECTED]> wrote: > > > The website is outdated, but the mailing list recently became quite active > > again > Great ! > > > - including flamewars. > > > not that great ;-) > > -Micha

Re: [fpc-devel] POSIX threads and classes

2007-05-07 Thread Leonardo M. Ram
> {TCondv} > constructor TCondv.Create; > begin > pthread_condattr_init(CAttr); > pthread_cond_init(Cond, CAttr); > end; I never used pthreads, but looking at the constructor of TCondv, it seems to require CAttr and Conv to be setted before calling pthread_condattr_init and pthread_cond_init

Re: [fpc-devel] TField.FieldName: how about database and table names?

2007-04-18 Thread Leonardo M. Ram
Bram, suppose myTable has two fields, "name" and "age", the query should return something like this: name|age|name1|age1 +---+-+ aa | 11| aa| 11 Each TField is related to one column in the resultset, not to each table involved in the query. --- Bram Kuijvenhoven <[EMAIL PROTECT

Re: [fpc-devel] delegate objects

2007-01-30 Thread Leonardo M. Ram
> Is there a way do delegate such methods on classes using Object Pascal ? > If so, how would you do it ? Yes, delegates are called "Events" in Object Pascal. Here a simple example: program EventExample; uses SysUtils, Classes; type { define the event type } TOnCalc = procedure (APercen

Re: [fpc-devel] delegate objects

2007-01-29 Thread Leonardo M. Ram
> Is there a way do delegate such methods on classes using Object Pascal ? > If so, how would you do it ? Yes, delegates are called "Events" in Object Pascal. Here a simple example: program EventExample; uses SysUtils, Classes; type { define the event type } TOnCalc = procedure (APercent

Re: [fpc-devel] sqldb lazarus component

2006-12-21 Thread Leonardo M. Ram
> Sorry but I didn't understand the procedure to compile... > ... and the Borland make? How i used it? by default (it's in the "bash" > paths)? Try to rename Borland's Make to BMake or something, at least when compiling FPC code to avoid incompatibilities. Leonardo M. Ramé http://leonardorame

Re: [fpc-devel] fpcUnit demo error

2006-09-15 Thread Leonardo M. Ram
Sorry, i thought frameworktest was the correct one. --- Dean Zobec <[EMAIL PROTECTED]> wrote: > Leonardo M. Ramé ha scritto: > > People, just found an error in the consolerunner/testrunner.pp demo > > application. It's > constructor > > and destrutor differs from the frameworktest sample in th

[fpc-devel] fpcUnit demo error

2006-09-14 Thread Leonardo M. Ram
People, just found an error in the consolerunner/testrunner.pp demo application. It's constructor and destrutor differs from the frameworktest sample in the tests directory. The correct methods are: constructor TTestRunner.Create(AOwner: TComponent); begin inherited Create(AOwner); FXMLResul

Re: [fpc-devel] Borland's new product line up

2006-08-08 Thread Leonardo M. Ram
Good news!, i hope the new Delphi will be smaller than bds2006. --- Daniël Mantione <[EMAIL PROTECTED]> wrote: > > http://www.turboexplorer.com > > The Turbo brand is back! > > Daniël> ___ > fpc-devel maillist - fpc-devel@lists.freepascal.org > h

Re: [fpc-devel] RTTI difference

2006-07-21 Thread Leonardo M. Ram
Thanks Graeme, it's amazing the speed of response on this mailing list. Congrats to the freepascal community! --- Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > Umm.. It seems I never reported that bug (I couldn't find it in Mantis). :-( > > I have reported it now as Issue 7187 > > http:/

[fpc-devel] RTTI difference

2006-07-20 Thread Leonardo M. Ram
I found a difference between the TPropInfo record GetProc and SetProc pointers between Delphi and FPC, when i check a class like this: type TMyClass = class(TPersistent) private FAttrib1: Integer; published property Attrib: Integer read FAttrib write FAttrib; end; In Delphi, when

[fpc-devel] Interfaces (long post)

2006-06-03 Thread Leonardo M. Ram
I'm trying to port a program i wrote in Delphi to FPC & Kylix and found when an interfaced object (COM interface, not CORBA) is instantiated and call the _AddRef method, in Kylix is executed one time (as expected) but in FPC is called two times losing the refcount. The correct result is this (co