[fpc-devel] Benchmark for FreePascal

2005-12-10 Thread darekM
Hi I've tested some of benchmark on http://shootout.alioth.debian.org/ I've see that reverse-complement benchmark for FPC is very slow. I discover, that problem is with readln, that function consume about 90% of time. B

Re: [fpc-devel] PR: What sites to spam for 2.0.2 release?

2005-12-10 Thread Felipe Monteiro de Carvalho
There is LinuxQuestions. It has an enormous traffic, but you can´t just put an "2.0.2 released" there. They would accept it if it is an article talking about Free Pascal, it´s history and a few details about the new release. -- Felipe Monteiro de Carvalho __

Re: [fpc-devel] PR: What sites to spam for 2.0.2 release?

2005-12-10 Thread Felipe Monteiro de Carvalho
I just saw some banners saying that IBM is giving banner space for free for open source project. I think that both Lazarus and Free Pascal should try to get banners!! Perhaps even more Lazarus. here is the url: http://www.openpowerproject.org/us/lp.php?cid=b2_linsider_ros_336x280_g -- Felipe Mo

Re: [fpc-devel] Access Violation with nested DLL's compiled by FPC(andsome more info on bug #4538)

2005-12-10 Thread Jonas Maebe
On 10 Dec 2005, at 22:55, L505 wrote: The DLL does not know what your EXE memory is doing. So by the time the string gets to the DLL it may be cleaned up and gone, kind of like a garbage collector. Same thing with returning a string.. This does not make sense to me. When you return a stri

Re: [fpc-devel] Access Violation with nested DLL's compiled by FPC(andsome more info on bug #4538)

2005-12-10 Thread L505
> The usage of strings in the samples was just to verify which code was > executed and where things went wrong. I wasen't aware of the fact that > that alone could cause problems. In the actual application mainly > objects are passed to functions as regular and out parameters and a > boolean is ret

[fpc-devel] fpc_pchar_length error

2005-12-10 Thread Alexandrov Alexandru
The following program will rise an error: Adress: $00401493 Procedure: fpc_pchar_length program project1; {$mode objfpc}{$H+} uses Classes; var Buffer: PChar; begin Buffer := Nil; WriteLn(Length( Buffer )); end. is this a bug? Alex ___ fpc-de

[fpc-devel] Access Violation with nested DLL's compiled by FPC (and some more info on bug #4538)

2005-12-10 Thread Stefan van den Berg
I wrote this before my reply to L505. Seems I forgot to send it. So, better lae then never, here it is. Jonas Maebe wrote: On 9 dec 2005, at 16:03, Marc Weustink wrote: http://www.freepascal.org/bugs/showsource.php3?ID=4538 Whoops, I didn't saw that there was a bugrep. No biggy. I'm

Re: [fpc-devel] Access Violation with nested DLL's compiled by FPC(and some more info on bug #4538)

2005-12-10 Thread Stefan van den Berg
L505 wrote: Before we can say something, what functions do you call, what params, what calling convention etc. Does it happen in one specific sequence of calls, to specific functions/methods etc. Please provide some more info. http://www.freepascal.org/bugs/showsource.php3?ID=4538 Whoops,

Re: [fpc-devel] VarAsType: Could not convert variant...

2005-12-10 Thread Florian Klaempfl
Graeme Geldenhuys wrote: > Hi, > > Still busy porting my Delphi app to FPC. The VarAsType call generated > the error listed below. This line worked under Delphi. > FPC ver 2.0.1 on Win2000. > > Is this a bug? Not anymore ;) > > -- > var > lVar :

Re: [fpc-devel] Access Violation with nested DLL's compiled by FPC(and some more info on bug #4538)

2005-12-10 Thread L505
> >> Before we can say something, what functions do you call, what params, > >> what calling convention etc. > >> Does it happen in one specific sequence of calls, to specific > >> functions/methods etc. > >> > >> Please provide some more info. > > > > > > http://www.freepascal.org/bugs/showsourc