Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-04

  1. Lazarus Snapshots Intel Mac with FPC 2.4.1?

    I'm having serious problems with bugs in FPC 2.4.0 on Intel Mac OS X. Would it be possible to post snapshots with 2.4.1? Tobias

    Tobias Giesen, Jonas Maebe, Marc Weustink
    11
  2. XML Iteration

    This isn't still true for latter version of FPC like 2.4.1, right? http://wiki.freepascal.org/XML_Tutorial#Printing_the_names_of_nodes "A quick note on navigating the…

    Lee Jenkins, Frank Church, Luiz Americo Pereira Camara
    18
  3. fpGUI Toolkit v0.7-rc2 for FPC 2.4

    fpGUI v0.7-rc2 is available --------------------------- An archived source download can be found at the following URL, or the source code could be pulled directly from…

    Graeme Geldenhuys, duilio foschi, Martin
    9
  4. How to convert ISO format string in FreePascal

    I want to convert a time stamp in yyyy-mm-dd hh:mm:ss format to a TDatetime in FPC but can't find but haven't found a way yet. My attempt is based on the method here,…

    Frank Church, Graeme Geldenhuys, José Mejuto
    6
  5. dynamic array contents and system.move

    I have a class that has a field, f_data : array of byte; // a dynamic array Within a method of this class (which takes as a parameter "src", another instance of the…

    David Emerson, ajv, Aleksa Todorovic
    61
  6. TCgiApplication in cgiapp unit - mostly deprecated

    What about FastCGI, is there an implementation default in FPC? I want codify a web app and I think use FreePascal. You recommend that? Or is better use another language…

    Marcos Douglas, duilio foschi, Graeme Geldenhuys
    31
  7. Re: What project management tool does FPC developers use?

    None, simply because we don't have any time budgets/resources but people are working as soon as they find time. See mantis ;)

    Florian Klaempfl, Frank Church, Jonas Maebe
    6
  8. method order

    (Note: I use "method" for "either procedure or function"; if there is a proper term, please tell me --I don't know any.) A short question: Why must a called method be…

    spir ☣, Mattias Gaertner
    2
  9. Question about Deleting elements in Dynamic Array

    Just say, I have a dynamic array with size=5, and I want to delete elements from the index 0 to 2. Is there a trick (the fastest way) to delete those elements (0 to 2)…

    Bihar Anwar, Anton Tichawa, David Emerson
    22
  10. var parameter

    I wrote a little simulation prog to try and understand better the semantics of var parameters (see below code and output). It seems they behave like if passed via…

    spir ☣, cobines
    1
  11. compilation feeback

    3 little questions about messages: -1- "local" variable When a program-global variable is unused, the compiler message reads 'Note: Local variable "x" not used'. Is this…

    spir ☣, Graeme Geldenhuys, Jonas Maebe
    5
  12. Two questions Widechar

    For this program : http://www.conoce3000.com/prueba.pp Why not show the Euro?. The shell is in Win-1252 and the source code on Win-1252 Does WideChar only used with…

    Luis Fernando Del Aguila Mejía
    0
  13. deprecated syntax is inconsistent.

    Why is the usage of 'deprecated' inconsistent, depending where you use it. I'm using the ObjFPC compiler mode. TRGBTriple = record Red: word; Green: word; Blue: word;…

    Graeme Geldenhuys, Aleksa Todorovic, Flávio Etrusco
    27
  14. TMask and Case Sensitive matching

    Hi, you all. At current TMaks.Matches does a case insensitive matching of a filename against a given mask(list). Currently this comparison is case insensitive ('ABC.doc'…

    Bart
    0
  15. re-newing a pointer

    It seems that once a pointer has been assigned nil, it needs to be (re)allocated using new() before using it to (re)set its target: ... p := nil; // pointer to Integer…

    spir ☣, Jonas Maebe
    1
  16. FPC Object Pascal parser?

    Does FPC include a "general purpose" object pascal parser we can use in our own projects? Obviously the FPC compiler itself has a parser, but is that a free-standing…

    Graeme Geldenhuys, Adriaan van Os, Florian Klaempfl
    18
  17. Re: Bridging FPC and Delphi

    Nobody can predict if sometimes in the future somebody will contribute a patch regarding this.

    Florian Klaempfl, Anthony Walter, Felipe Monteiro de Carvalho
    13
  18. pointer magic

    Two basic questions about pointer targets (I call target what is pointed to). -1- untyped pointer allocation In case of an untyped pointer, I read the compiler considers…

    spir ☣, cobines, Thierry Coq
    2
  19. type constraints in generics?

    please find attached a very simple test of generics. I would like to limit the actual type in this list to be a child class of TObject. Is this possible and if yes, how…

    Thierry Coq, leledumbo
    1
  20. State of FPC docs.rant

    <rant> I use php, c / c++, vala, java, actionscript, python, javascript and of course pascal. When I was introduce to pascal it was Delphi, but then I ran into Free…

    Joseph Montanez, David Emerson, Florian Klaempfl
    22
  21. request for help: connecting to WIN1251 (ANSI) codepaged DB (FB1.0.3) in Lazarus

    when trying to connect to FB 1.0.3 server, to database that was created using WIN1251 (Windows Ansi Cyrillic) CHARSET, via SqlDB TIBConnection component, all Lazarus…

    62mkv, Felipe Monteiro de Carvalho, Joost van der Sluis
    3
  22. Is there anyone will answer my questions

    I have some questions when I am using Free Pascal a new line in the IDE. and I think the Free Pascal's ide is not very stable, I am using fpc under a MS-DOS 7.1,…

    彘, Bart
    1
  23. Re: Changes in 2.4.0

    Mar 30, Mar 30, Michael Van Canneyt wrote to MVC > You must use -S2 or -Sd to see them. Or put {$mode objfpc} or {$mode MVC > delphi} MVC > in your sources. I tried all…

    Unknown author, Jonas Maebe
    2
  24. Re: [MacPascal] iPhone AppStore accepting apps from other languages

    Command line and OpenGL applications are no problem and even now possible with fpc afaik. Only full gui access might require investigation how and if fully possible.

    Florian Klaempfl
    0
  25. DirectFB 1.2.7 support available + question about fpc wiki

    a release of directfb bindings with support for both 1.4 and (new) 1.2.7 binaries (as included in ubuntu karmic, for example) is now available:…

    Roland Schaefer
    0
  26. newbie questions

    Total Pascal newbie here. Looked for answers in various references and tutorials, but cannot find. Fore-question: Is there a (free)pascal teaching/learning mailing list?…

    spir ☣, Alberto Narduzzi, Howard Page-Clark
    7
  27. pointer to anything

    Say I want to implement a kind of linked list which node data may be anything. Thus I cannot store data on place (in nodes), indeed; so it should be referenced. But…

    spir ☣, Doug Chamberlin, Frank Peelo
    5
  28. Is static strings prosible?

    Hi list. Before I think about creating about report i better ask if it is possible to have static string in a class. The following construct fails using fpc 2.4.0…

    Torsten Bonde Christiansen
    0
  29. FPC 2.4.1 with library that requires old libc unit.

    I'm trying to update a set of database components (FBLib) used with tiOPF. In FPC 2.2.0 (32bit linux) everything compiled and worked fine. Today I tried to compile my…

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    3
  30. FPClassChart

    Is the fpclasschart program still maintained? I get a runtime A/V trying to create a class chart from one of my source files. Torsten Bonde Christiansen.

    Torsten Bonde Christiansen, Graeme Geldenhuys, Marco van de Voort
    12
  31. FindFirst()

    In Windows XP and upper, traversing directories starting from root directory (e.g. D:\) using FindFirst() and FindNext() will fail (ERROR_ACCESS_DENIED) when iteration…

    Bihar Anwar
    0
  32. [ANN] BeepFp v1.1 released

    Release note: --------------------- BeepFp 1.1 was released on April 18, 2010. BeepFp is a Free Pascal component to provide BEEP services in the object pascal language.…

    Wimpie Nortje, Graeme Geldenhuys, Henry Vermaak
    8
  33. Dear FreePascal

    I have some questions when I am using Free Pascal a new line in the IDE. and I think the Free Pascal's ide is not very stable, I am using fpc under a MS-DOS 7.1,…

    彘, Bart, Jürgen Hestermann
    6
  34. Unicode characters in source code

    If I want to use Unicode characters in my source code, but without actually typing in the Unicode character - I rather want to define it similar to ASCII chars or Hex…

    Graeme Geldenhuys, ik, Mattias Gärtner
    9
  35. Changing propertie's getter procedure by code

    Hello "Lazarentos" I created a base class that uses RTTI to link the properties of child classes to fields of a TDataset. I need to modify the base class getter method…

    Guionardo Furlan
    0
  36. One small step for Pascalkind ...

    ... one big step for me. Dear FP Seers -- I'm struggling to port a heap of software written in Think Pascal to Mac OS X, and I'm finding the learning curve for Unix and…

    Roger Bailey, dmitry boyarintsev
    1
  37. "start" Lazarus

    Newcomer here. Seems stupid, but I had a hard time in simply starting Lazarus -- on Ubuntu. When I typed "lazarus", I got an error message about a lazarus program from…

    spir ☣, Mattias Gaertner, Ritchie Flick
    5
  38. Strange behavior with GLib API call

    Hello! I am developer of the Listaller Project, a cross-distribution software manager & installer which uses PackageKit and is completely programmed in Pascal. (YES, I…

    Matthias Klumpp
    1
  39. Published -> Public

    If I have a class like: TMyClassPublished=class(TObject) published procedure MyProcedure; virtual; end; And a derived one: TMyClassDerived=class(TMyClassPublished) public

    José Mejuto, Flávio Etrusco, Marc Weustink
    14
  40. I need some help with with fcl-xml/xpath

    Whenever I try to use EvaluateXPathExpression, I wind up with a SIGSEGV. I have done my homework and there is a similar report from 2007, […

    Frank Church
    0
  41. TThread.Synchronize() in shared library

    Hello! I have a serious problem with a shared lib and threads. To fix a critical bug in my app, the shared library has to execute commands asynchronous. To make the…

    Matthias Klumpp, Marco van de Voort, Michael Van Canneyt
    5
  42. Implementing an interface force me to add _AddRef, _Release

    IMyIntf = interface function GetValue: Variant; end; TMyObject=(TList, IMyIntf) .... end; Can not compile becuase it need to add this functions to TMyObject function…

    Zaher Dirkey, Graeme Geldenhuys, Marc Weustink
    9
  43. nested procedure as parameter question

    I am porting a large amount of existing Pascal code (MetaWare) to Free Pascal. Unfortunately, this code makes extensive use of nested procedures, and the nested…

    Bruce Bauman, Adriaan van Os, Flávio Etrusco
    3
  44. Initializing a record-type variable to get rid of the false-positive compiler hint

    I still need compiler hint generated by FPC at compiling (I don't want to turn it off), but the hint sometime disturbs me because it's a false-postive detection.…

    Bihar Anwar, Bart, José Mejuto
    6
  45. ICS

    I am trying to setup an FTP client using the ICS tFTPClient but not have been too successful. It cannot link ZLibObj without getting the error : "Error: Illegal COFF…

    Unknown author, cobines, Graeme Geldenhuys
    7
  46. compilation verbosity

    fpc doesn't seem to respect the -v,X> flags for me. I'm compiling a shared object library (on an Ubuntu Linux 64-bit platform cross-compiling to 32-bit) and I've tried…

    Seth Grover, Jonas Maebe
    3
  47. GLES Apps on Android

    I google the web and saw FPC can cross compile to Android. Whave GLES header for FPC too, so we have chance to build multimedia applications without the Android NDK? An…

    lyh1 rcc
    0
  48. how to bind the following c code ?

    I'm trying to add missing Pango functions to both Lazarus and FPC for BiDi support, and I have encountered the following function: PangoDirection pango_unichar_direction…

    ik, dmitry boyarintsev, Henry Vermaak
    2
  49. Wanted: permanent or contract developers for a new project

    The company I work for is called Master Maths. We are a franchise business and based in South Africa. We primarily produce computer based training for Maths and Science,…

    Graeme Geldenhuys, dmitry boyarintsev
    2
  50. FPC static linking of zlib

    Hello! Some time ago, bug #472304 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=472304) was filed against Debian, cause FPC does not link executables dynamically.…

    Matthias Klumpp, Micha Nelissen, Michael Van Canneyt
    9