Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2009-04

  1. Halting program without mem leaks

    I need to make a program exited with an exit code other than 0, but without mem leaks. Currently, Halt seems to return control to calling program (or OS) without freeing…

    leledumbo, Marco van de Voort, Vincent Snijders
    2
  2. sockets client server programming

    Exists there a simple example for nonblocking client server programming which can be used in linux and windows? With fpsocket, fpbind, fpconnect, ... Rainer

    Rainer Stratmann, Jürgen Hestermann
    2
  3. EABI problems with FPC

    I tried to create an Hello World program in OpenMoko (after creating arm fpc). When I try to compile it, ld gives the following error message: /usr/bin/ld: ERROR: Source…

    ik, Benedikt Schindler, Henry Vermaak
    17
  4. mailing list archive

    Here is a strange one... http://lists.freepascal.org/lists/fpc-pascal/ The first item in the list is date March 2025. Can anybody clean this up by deleting that post? -…

    Graeme Geldenhuys
    0
  5. fpGUI Toolkit source repository migrated to Git

    As of 2 days ago, I have converted the SubVersion repository to Git. repository. To checkout (clone) the fpGUI git repository you can do the following using the git…

    Graeme Geldenhuys, Florian Klaempfl, Henry Vermaak
    16
  6. Can I define a custom "simple" type for my applications?

    I need a "new" boolean type in my applications that support three values. True, False and Null. Null value means undefined and has various uses and gets handled…

    Graeme Geldenhuys, dmitry boyarintsev, Jonas Maebe
    12
  7. LTR or RTL info from users locale settings?

    Does the RTL have any why to notify me if the users locale is LeftToRight or RightToLeft? I'm porting the MiG Layout Manager from Java to Free Pascal for use with fpGUI…

    Graeme Geldenhuys, ik
    3
  8. Re: A real programmers website

    Maybe we finally stumbled on Neo. There could even be a white rabbit somewhere hidden in the site :-) Michael.

    Michael Van Canneyt, Doug Chamberlin, Graeme Geldenhuys
    6
  9. Re: Case Sensitivity / Multiple Names

    --- Ahh, OK. Yes, I've run into that problem myself. The one I remember was where I was using the MacOSAll unit which defined a random function which then hid the…

    Richard Ward, Francisco Reyes, Jonas Maebe
    5
  10. Trying to cross compile to arm-linux and have the following error message: Makefile:186: *** The Makefile doesn't support target x86_64-linux, please run fpcmake first. Stop.

    I'm trying to create a cross compile to arm-linux. I made the following execution: fpcmake -Tarm-linux -v FPCMake Version 2.0.0 [2009/02/20] Processing Makefile.fpc…

    ik, Jonas Maebe, Vincent Snijders
    5
  11. Generating code form xmi files

    Do you know if some code allready exist to generate Pascal code form xmi files ? Best regards Philippe

    Unknown author, Frank Peelo, Graeme Geldenhuys
    24
  12. Case Sensitivity

    It may help newcomers like myself if this was mentioned on the ref document. Just double checked and it does not mention this. --- Interestingly, I was going over the…

    Richard Ward, Francisco Reyes, Vinzent Höfler
    2
  13. Syntax problem with first unit

    Trying my first unit and getting an error I can't figure out. --- unit unit debugprint; Interface function DebugPrint(ProgLevel, CallLevel:integer; MessageIn:…

    Francisco Reyes, David W Noon, Mehmet Erol Sanliturk
    9
  14. PasJS: Ext-Core v3 as the RTL

    Especially who is interesting in web programming. I saw yesterday Ext released their first beta for Ext-Core. I think it's the best candidate to be used as default RTL…

    Bee
    0
  15. Remove unused functions in a class

    If a virtual method of a class is not used at all in the programm will the compiler remove it from the executable ? I think that unused constants and functions will be…

    JoshyFun, Jonas Maebe
    6
  16. Memory Size

    I need the available memory (heap). At that time the functions maxavail or memavail did this. I read that I should use GetFPCHeapStatus and other function currently.…

    Markus Glugla, Jonas Maebe, Marco van de Voort
    6
  17. Constructors & Destructors 101

    I am a little bit unclear about certain things on class constructors and destructors. From what I read in the language reference guide (chapter 6) and runtime utilities…

    Richard Ward, Bart, Doug Chamberlin
    10
  18. Compiler raise an EAbort exception

    I'm using FPC from Arch Liunx. I'm trying to do the following code: ... TNumberValidationRecord = record Name : String; CreditType :…

    ik, Jonas Maebe, JoshyFun
    4
  19. Best method for code reuse?

    What are my options for code reuse? Creating units for common code? Any other method?

    Francisco Reyes, Diego Antonio Lucena Pumar, Graeme Geldenhuys
    7
  20. Re: Sample unit code

    What is not clear ? Look in the 'Contributed units' section of the website (on the right, in section 'Coding'). There are lots of units there. Michael.

    Michael Van Canneyt, Francisco Reyes, Mattias Gaertner
    6
  21. Contributed units section

    I am finding many contributed units with broken links to both the code and the homepage URL. A few thoughts. We could clean all entries to which both the code and the…

    Francisco Reyes, Michael Schneider
    1
  22. "Generics" Red Black Tree for fpc

    due to interest i post here our generic version of a red black tree implementation. A R/B tree is a quite fast directory datastructure which allows o(log n) access times.

    Helmut Hartl, Mattias Gaertner
    4
  23. Re: Constructors & Destructors 101

    --- And one of the features of FreeAndNil is to zero the reference BEFORE deallocating the memory which I assume would be problematic to do "inside" the instance in…

    Richard Ward
    0
  24. ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

    Today I have released a new product for Delphi and Freepascal - wxForms for Delphi. This is a Pascal wrapper for wxWidgets and a Form designer for Delphi. For more…

    Guru Kathiresan, Graeme Geldenhuys, Paul Ishenin
    4
  25. AW: ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal

    Von: Guru Kathiresan Gesendet: Do 02.04.2009 08:46 An: ; Betreff: [fpc-pascal] ANN: wxForms for Delphi - wxWidgets designer and wrapper for Delphi/Freepascal congrats!…

    Helmut Hartl, Guru Kathiresan
    1
  26. oCRT and ncurses in openSuSE 11.0 (32-Bit)

    I wanted to port an old program from fpc 1.0.4 (SuSE 7.0) -> fpc 2.0.4 (openSuSE 11.0, 32-bit). My program uses ken wright's oCRT, and I have a version which was…

    Rainer Hantsch, Jonas Maebe, Michael Van Canneyt
    5
  27. Interface reference counting

    Just to be sure, when using an interface from COM, can I just ignore it and the compiler will release it when it's scope ends, or do I need to manually set the variable…

    Felipe Monteiro de Carvalho, dmitry boyarintsev, Graeme Geldenhuys
    2
  28. TList: newbie question

    I never used TList before, so I'm not sure if this is correct. I constructed a TlcTextCache class that basically stores objects of type TLcText in a TList. A TlcText…

    Bart, Paul Nicholls
    1
  29. Re: modifying system.pp's InstallSignals

    I wasn't aware of that, and that would actually get me a lot closer to what I'm trying to do. However, it seems to not work correctly when it comes to the signal…

    Seth Grover
    0
  30. locale solution for unix systems

    [....moved the conversation from Lazarus mailing list....] I'm pretty sure rpm must have a way to query it by giving the file and asking what package it belongs to. I…

    Graeme Geldenhuys, Bart, Florian Klaempfl
    41