Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2008-03

  1. FPC on Mac OS X

    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…

    Sandy Moir, Bent Normann Olsen, Damien Gerard
    11
  2. Gnu Scientific Library

    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…

    Matt Henley, Marco van de Voort
    2
  3. connection problem

    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…

    Jesus Reyes, Damien Gerard, Florian Klaempfl
    13
  4. Generics

    I would like to make a generic class, like this : {$mode objfpc} generic TMCollection<_T> = class(TObject) private FDefaultItem: _T; // line 35 public constructor…

    Damien Gerard, ik, Marco van de Voort
    13
  5. Search engine in Pascal

    I am looking for a free search engine in Pascal for a small web site. Any point? Thanks! JK

    Jilani Khaldi, Michael Van Canneyt
    3
  6. Aservia Web Server

    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…

    L
    0
  7. Basic question about TStringList

    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…

    Unknown author, Andreas Berger, Crause
    5
  8. Important: Call for testing.

    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…

    Michael Van Canneyt
    0
  9. Windows unit and SyncObjs unit clash

    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…

    Graeme Geldenhuys, Joao Morais, Marco van de Voort
    14
  10. Question on low-level functions for ttySxx

    I am currently modernizing my "serial communications unit", which actually is a OOP wrapper around IOCtrl and termio. It currently supports the following functions:…

    Rainer Hantsch
    0
  11. Windows GetLastError doesn't work with threads

    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…

    Luca Olivetti
    0
  12. Re: Initializing Records Automatically

    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…

    Florian Klaempfl, ik, Jilani Khaldi
    28
  13. unit

    Why I can't to run unit - programa say: 'Illegal unit name' I try Fps 0.9.6and 0.6.4 program versions. thanks

    europietis N, Jonas Maebe, Marco van de Voort
    4
  14. compile DPR files

    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…

    L, Arne Hanssen, Graeme Geldenhuys
    2
  15. Set ioresult

    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…

    L
    1
  16. MSEide+MSEgui rev. 1.8beta1

    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. ;-) +…

    Martin Schreiber
    0
  17. Skybuck ODE 0.09 available.

    Major productivity improvements with version 0.09: New features: + Automatic renaming of files/versions in unit/uses clausule. + Automatic cleanup Small new features: +…

    Skybuck Flying
    0
  18. Skybuck's IDE version 0.08 is now available :)

    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:…

    Skybuck Flying
    0
  19. Crypt++ 5.5.2 Tiger::Transform converted to DCPCrypt2.Compress, AV: Compiler Optimization Bug with SSE2 ? Or just programming bug ? HELP NEEDED :) ?!

    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…

    Skybuck Flying, Tomas Hajny
    3
  20. Sysutils

    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…

    Frank McCormick, Joost van der Sluis, Michael Van Canneyt
    3
  21. Re: WSAGetLastError returns 0 when it shouldn't but I cannot see why

    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..…

    L, Luca Olivetti, Lukas Gebauer
    10
  22. unit system;  procedure move();

    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…

    Unknown author, Jonas Maebe, Pete Cervasio
    2
  23. transparent windows on X11

    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…

    Graeme Geldenhuys, Eduardo Morras, ik
    2
  24. Looking for a increment time function

    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.…

    Graeme Geldenhuys, ik, Rainer Stratmann
    5
  25. How to initialize a "Text" variable?

    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…

    Felipe Monteiro de Carvalho, Jonas Maebe, Michael Van Canneyt
    9
  26. RE: fpc-pascal Digest, Vol 43, Issue 21

    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…

    Crause, Christo (JC, Crause, Christo (JC
    0
  27. FPC and Profiling software

    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…

    Graeme Geldenhuys, bartek, Codebue Fabio - P-Soft
    19
  28. MaskEdit

    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:…

    Marek Nožka, Christian U., Felipe Monteiro de Carvalho
    12
  29. Re: Simple X11 program

    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…

    ik, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    13
  30. constructor overloads - only class methods can ..?

    type TmyClass = class(TObject) private .. public constructor Create; overload; constructor Create(AParam : TAny); overload; constructor Create(AParam : TAnother);…

    Wolfram Kläger
    0
  31. gprof setup on windows

    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…

    Darius Blaszijk, Graeme Geldenhuys, Peter Vreman
    2
  32. gprof

    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

    Mattias Gaertner, Graeme Geldenhuys, Jonas Maebe
    6
  33. RE: Firebird UDF

    ... ... 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…

    Crause, Christo (JC, Crause, Christo (JC
    0
  34. Layout of class method

    I'd just like to confirm. Considering the following class method: {$mode delphi} interface type TMyController = class(NSObject) public class function…

    Felipe Monteiro de Carvalho, Jonas Maebe, Michael Van Canneyt
    12
  35. Vandalism

    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…

    C Western, Flávio Etrusco
    1
  36. Re: problem with interface (OOP not widget)

    Michael Van Canneyt, Bee, Giuliano Colla
    15
  37. Hmm 64 bit instructions for visual studio 2008 slower than doubles too ?

    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…

    Skybuck Flying, Johann Glaser, Vinzent Hoefler
    2
  38. GSoC

    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…

    Musan Antal, Felipe Monteiro de Carvalho
    1
  39. Lazarus at Knoppix 5.3

    Great Because installing of Lazarus takes time... And is not easy...

    Rainer Stratmann
    0
  40. FPC on GSoC

    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…

    Musan Antal, Vincent Snijders
    1
  41. Int64: Cross Compiler 2.1.4 Beta for X64 does not produce faster executables ?

    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…

    Skybuck Flying
    0
  42. Functions with out parameters

    I have the following function : procedure Foo(const AText: UTF8String; out AValue: UTF8String); begin ShowMessage(AText); // AValue := 'A custom value'; end; procedure…

    Damien Gerard, Jonas Maebe
    1
  43. svn_types.inc(432,73) Error: ; expected, but psvn_error_t found

    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…

    ik, Michael Van Canneyt
    2
  44. Empty string

    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…

    Damien Gerard, Flávio Etrusco, Gene Buckle
    11
  45. fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

    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:…

    Vincent Snijders, Felipe Monteiro de Carvalho
    1
  46. assitent with Macro translation

    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…

    ik, Marco van de Voort, Milan Marusinec
    3
  47. Re: fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

    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

    Peter Vreman, Jonas Maebe, Vincent Snijders
    2
  48. GetAppConfigDir(False) on Windows Vista

    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…

    Graeme Geldenhuys, Peter Vreman
    2
  49. AnsiDequotedStr not return empty for ""

    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…

    zaher dirkey, Damien Gerard, Daniël Mantione
    9
  50. Wince+DebugLn

    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…

    Denis Golovan
    0