fpc-pascal · 2008-03
- FPC on Mac OS X11
I'm trying to run FPC 2.2 on my G5 iMac (PPC) under OS X 10.4.11. It's unclear to me if this can *only* be run from Terminal; I had expected it to be a "normal" Mac…
- Gnu Scientific Library2
What would I need to do if I want to use portions of the GSL? Are there headers written for fpc for this? I looked through JEDI-Math but my understanding is that the…
- connection problem13
Hi, I'm experiencing connection problems to bugs.freepascal.org and svn.freepascal.org. http://svn.freepascal.org/FPC/svn/lazarus/trunk l svn: requerimiento PROPFIND…
- Generics13
I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor…
- Search engine in Pascal3
I am looking for a free search engine in Pascal for a small web site. Any point? Thanks! JK
- Aservia Web Server0
Aservia Project Started. A new simple stable web server for FPC and possibly delphi. http://powtils.googlecode.com/svn/dev/tools/aservia/ 100% Free license. It supports…
- Basic question about TStringList5
I seek help to clarify a very basic use of TStringList. Let A and B be TStringLists. What is the difference between: A:=B; and A.Assign(B); ? Thanks in advance for your…
- Important: Call for testing.0
at the end of last year, the FPC team was notified that certain portions of the FPC codebase contained possible copyright infringements on copyrighted code from Codegear…
- Windows unit and SyncObjs unit clash14
I've noticed this ages ago and found a work-around, but never reported it. I hit the same error again today and thought this time I would mention it. In tiOPF we have…
- Question on low-level functions for ttySxx0
I am currently modernizing my "serial communications unit", which actually is a OOP wrapper around IOCtrl and termio. It currently supports the following functions:…
- Windows GetLastError doesn't work with threads0
I hate to be obnoxious, but I posted a patch for the issue in the subject (WSAGetLastError/GetLastError is reset by the rtl when one is using threads) and I'd like some…
- Re: Initializing Records Automatically28
Records and objects containing automated fields are initialized? Or do I miss something? The whole blog post is nonsense, the proper way to finalize a record before…
- unit4
Why I can't to run unit - programa say: 'Illegal unit name' I try Fps 0.9.6and 0.6.4 program versions. thanks
- compile DPR files2
I think fpc compiler should compile .dpr files without having to type the extension.. me is lazy.. fpc prog this compiles prog.pp but doesn't do prog.dpr ;-) What do we…
- Set ioresult1
how to set it without writing a text driver plugin? There was something like SetInOutRes for delphi in some unit. Is global inoutres a threadvar, btw? Safe to set it…
- MSEide+MSEgui rev. 1.8beta10
There is a first beta of MSEide+MSEgui 1.8: http://sourceforge.net/project/showfiles.php?group_id=165409 New in version 1.8: + Nice gradients on the buttons. ;-) +…
- Skybuck ODE 0.09 available.0
Major productivity improvements with version 0.09: New features: + Automatic renaming of files/versions in unit/uses clausule. + Automatic cleanup Small new features: +…
- Skybuck's IDE version 0.08 is now available :)0
Skybuck's ODE version 0.08 is now available: http://cid-aedd0ea32d61bc86.skydrive.live.com/browse.aspx/Delphi New feature: Automatic versioning of filenames: Example:…
- Crypt++ 5.5.2 Tiger::Transform converted to DCPCrypt2.Compress, AV: Compiler Optimization Bug with SSE2 ? Or just programming bug ? HELP NEEDED :) ?!3
This is the tiger transform routine/procedure/method converted from the Crypt++ 5.5.2 C/C++/Asm code to DCPCrypt2 Delphi/Pascal/Basm code. It works with optimizations…
- Sysutils3
I have run into a problem compiling a unit under the latest fpc on Debian Sid. Every reference to the StrInt function in Sysutils results in an error. I have checked…
- Re: WSAGetLastError returns 0 when it shouldn't but I cannot see why10
even if it couldn't I am also working on this issue still. I had the WSAGetLastError working using direct sockets.pp calls but didn't get it working using synapse yet..…
- unit system; procedure move();2
Hi I need more informations about the move() procedure form unit system. I want to shift an array (values:array[0..Maximum-1] of single) like the following lines: for…
- transparent windows on X112
Anybody know how to use Xlib API to create transparent windows? This is for use with fpGUI Toolkit. For example. I have a Label component (which is actually a mini…
- Looking for a increment time function5
Does FPC contain a increment time function? Something like IncMonth(). I know I can use DocodeDate/EncodeDate, but that seems such an inefficient way of doing it.…
- How to initialize a "Text" variable?9
I have the following variable that I need to initialize: yyinput: Text; I searched, but I can't find anything that explains what this is, or how to initialize it. Is the…
- RE: fpc-pascal Digest, Vol 43, Issue 210
Did you upgrade or installed a newer version of Firebird over an older one? On my machine I installed a newer version over the older one, and it installed the new…
- FPC and Profiling software19
Does anybody know of any profiling software I can use with FPC? I'm mainly developing under Linux, but have a virtual Win2000 session as well, so Windows or Linux…
- MaskEdit12
Hallo I need to use MaskEdit in Lazarus 0.9.24. But the MaskEdit isn't on the component palette. I think that I call the Constructor an it will work. But no :-( My code:…
- Re: Simple X11 program13
Pure xlib is not that easy. I can give you an old program I made using it, but bitmap/keyboard handling is not for "beginners" in X. You must understand better how…
- constructor overloads - only class methods can ..?0
type TmyClass = class(TObject) private .. public constructor Create; overload; constructor Create(AParam : TAny); overload; constructor Create(AParam : TAnother);…
- gprof setup on windows2
I would like to profile my code on windows. I tried searching the wiki, but without much success on how to do that on windows. Can anyone explain me in a few words how…
- gprof6
It seems the gprof option -pg is still there, but it does not work. What are the plans for this feature? What else can be used as profiler for fpc? Mattias
- RE: Firebird UDF0
... ... I guess you made a typo in your select statement, since it calls round, not pround. It would appear that Firebird cannot load the dll/so or find the entry point…
- Layout of class method12
I'd just like to confirm. Considering the following class method: {$mode delphi} interface type TMyController = class(NSObject) public class function…
- Vandalism1
There seems to be some vandalism on the following page: http://community.freepascal.org:10000/docs-html/fpctoc.html the Documentation table of contents (with…
- 15
- Hmm 64 bit instructions for visual studio 2008 slower than doubles too ?2
Hmmm. Visual Studio 2008 seems to produce even slower code for the True 64 bit integers. Also when I set it to release, something strange happens and it only take 7…
- GSoC1
I think it would be really important to make a new submission to the GSoC. I also have some ideas on what else to include, in order to make the application more…
- Lazarus at Knoppix 5.30
Great Because installing of Lazarus takes time... And is not easy...
- FPC on GSoC1
Could you please tell me more about this issue: It is a good idea. FPC applied twice and was rejected twice. Maybe you can inform with Google Summer of Code, what needs…
- Int64: Cross Compiler 2.1.4 Beta for X64 does not produce faster executables ?0
The project/benchmark below was compiled with Delphi 2007 (produces 32 bit instructions), and Free Pascal Cross Compiler 2.1.4 Beta for X64 (produces 64 bit instructions…
- Functions with out parameters1
I have the following function : procedure Foo(const AText: UTF8String; out AValue: UTF8String); begin ShowMessage(AText); // AValue := 'A custom value'; end; procedure…
- svn_types.inc(432,73) Error: ; expected, but psvn_error_t found2
I have the following code: type psvn_log_message_receiver_t = ^svn_log_message_receiver_t; svn_log_message_receiver_t = function (baton : pointer; changed_paths…
- Empty string11
In any programs, a lot of tests on empty strings are made. The following made the work : if Length(s) 0 then ... or if s '' then ... In a lot of cases, the real length…
- fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter1
Currently fpc 2.3.1 cannot build lazarus anymore. It fails on lines like MyStream.Write(' ',1); The write method is declared as function Write(const Buffer; Count:…
- assitent with Macro translation3
I've started binding libsvn to FPC, and I have encountered the following macro that I do not know how to translate: #define APR_ARRAY_IDX(ary,i,type) (((type…
- Re: fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter2
1. It is passed by value and not by reference. 2. You don't know the size of the value. 3. It is delphi compatible Peter
- GetAppConfigDir(False) on Windows Vista2
Does GetAppConfigDir(False) work under Windows Vista? I'm using it in our applications and we don't have a Vista OS yet to test on. As far as I understand, Vista uses…
- AnsiDequotedStr not return empty for ""9
S := AnsiDequotedStr('""', '"'); Return in S the same source string for empty quoted. That also in Delphi, but it is for me wrong. In fact that make my program working…
- Wince+DebugLn0
Hi, all! When trying to debug LCL DebugLn is rather useful. AFAIU, decision about logging is carried out on initialization of LCLProc unit. Debugging ordinary progs is…
