Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ : Missing install.sh

    https://sourceforge.net/projects/freepascal/files/Source/3.2.2/ Missing install.sh

    Jean Pierre CASSOU, Marco van de Voort, Tomas Hajny
    2
  2. How to check if a network is available?

    I would like to know how I can check if a remote network is available, i.e. if the VPN system has succeeded to connect the remote network. I need this in a class that…

    Bo Berglund, James Richters, Jean SUZINEAU
    11
  3. Tuples as variant arrays

    Is it possible something like this could work? Seems like it should but I get an error (got MyRecord expected variant). ==================================== {$mode…

    Ryan Joseph, Michael Van Canneyt, Sven Barth
    2
  4. Linker error on simple program (windows)

    Given this unit: unit ExtMath; {$mode objfpc} interface function LeadingZeroBits(n: Byte): Integer; inline; implementation function LeadingZeroBits(n: QWORD; BitSize:…

    Bart, Sven Barth
    3
  5. Push rules

    Martin asked how we intend to go about git commit authors/emails. These can of course be manipulated at will in Git. But gitlab can place some restrictions on what is…

    Michael Van Canneyt, Sven Barth
    1
  6. GetSaveFileNameA limited to 100 characters in default name

    I'm using GetSaveFileNameA() in a windows console program to obtain a save-as directory and file name, I am passing sending it a default file name with:…

    James Richters, Alexander Grotewohl, Jean SUZINEAU
    13
  7. Will the size of an executable depend on the uses clause

    If I by habit add a bunch of often used units to the uses clause will that affects the size of the compiled application even if they are not in fact used? I.e. if there…

    Bo Berglund, Bart, Florian Klämpfl
    27
  8. TRegistry documentation

    Is there documentation for TRegistry somewhere? I've been searching for information on it, and so far I've only been able to find:…

    James Richters, Bart, Jean SUZINEAU
    11
  9. TMemoryStream.SetSize question.

    Why does TMemoryStream only implement one version of SetSize method? https://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/objpas/classes/classesh.inc?revision=49038&vi…

    gabor, Michael Van Canneyt
    4
  10. Management operators memleaks

    Hi all I created a test case for rather unusual behaviour of management operators in fpc 3.3.1. In some specific cases they produce memory leaks. I suspect it's some…

    denisgolovan, Ryan Joseph, Sven Barth
    5
  11. Annual inform

    Rafael Angel Campos Vargas
    0
  12. Remove last character from pchar

    I am a bit struggling with what should be fairly simple. I have a pchar where I am adding and removing characters. What I did so far is to allocate new memory every time…

    Darius Blaszyk, James Richters, Jean SUZINEAU
    4
  13. FPC 3.2.2 (In)complete Boolean Evaluation on 32bit MacOS

    it seems that the newest 32-bit FPC sometimes creates complete Boolean Evaluation rather than partial, which causes my application to crash. My context is like this:…

    Tobias Giesen, Pierre Muller
    1
  14. Dependency of OpenSSL 1.0.2 still in FPC 3.2.0 on some platforms?

    I have an application which is ported from Delphi to FreePascal and will be used on Raspberry Pi (Debian based Linux). It uses Indy10 components. Indy is installed using…

    Bo Berglund, Arne Hanssen, gebylist
    43
  15. Linux Yad

    Has anyone called Yad (linux file manager) as an external program form a main program ? If so can you provide an example of how to do it and retrieve the selected file…

    Brian
    0
  16. is this a bug?

    I am using FPC v. 3.2.0 on both linux and windows. I use Firebird as a database (not sure that this is important). Say you write var AConnection:TIBConnection;…

    duilio foschi
    1
  17. Option type

    Hi all I am trying to implement Option<T> type in FPC. type generic TOption<T> = record case IsSome:boolean of true: ( some: T ); false: (); end; However fpc just emits…

    denisgolovan, Henry Vermaak, Martin Frb
    12
  18. -FNsystem

    There are some dotted units in fpc, e.g. system.uitypes. So it would be nice to have -FNsystem in the default fpc.cfg (Delphi compatible). What do you think? Mattias

    Mattias Gaertner, Jonas Maebe, Marco van de Voort
    4
  19. FPC 3.2.2 released

    Finally, the Free Pascal 3.2.2 release is available from our servers and from sourceforge. Changes that may break backwards compatibility will be documented at:…

    Marco van de Voort, Vojtěch Čihák
    1
  20. Can a console app running as Linux service restart itself?

    I would like my service application to restart itself once per 24 hours, but only when nothing else is going on. So the application itself would know this but how can I…

    Bo Berglund, Michael Van Canneyt, Travis Siegel
    5
  21. How to find where my app consumes CPU?

    I have a pretty sizable console app written with Delphi 15 years ago but ported to Linux using FreePascal (3.2.0) with Lazarus (2.0.12) as IDE. It runs as a systemd…

    Bo Berglund, Alexander Grotewohl, Florian Klämpfl
    22
  22. FTP support gone - switch to HTTP ?

    Mattias Gaertner pointed out that Chrome no longer supports FTP downloads. I know that Firefox will follow suit really soon (if they haven't already). Since Edge now…

    Michael Van Canneyt, Bo Berglund, Graeme Geldenhuys
    11
  23. SQLDB: Set MySQL SkipVersionCheck in TSQLConnector

    Luis Henrique, Michael Van Canneyt
    2
  24. Directory Tree

    Does FPC include any tools to display a directory tree, similar to the way files and folders are normally displayed, but I want to make my own custom entries. Have the…

    James Richters, Bart, Jean SUZINEAU
    60
  25. 50 years of Pascal, by the the author himself

    Thought this was kind of interesting, though it leaves short of mentioning the later Object Pascal evolution and thus Delphi and FreePascal...…

    Ralf Quint, Brian, Marco van de Voort
    7
  26. Array range overflow in properties

    Is this a bug in properties and I should be getting an error? type TPixel = record components: array[0..3] of byte; property R: byte read components[10] write…

    Ryan Joseph, Sven Barth
    2
  27. Re: Nested function closures

    Maybe we're misunderstanding each other then. I'm responding to Sven when he says: I.e. all closures will be interface based because there are not enough real world use…

    Ryan Joseph, Bo Berglund, Graeme Geldenhuys
    21
  28. non-virtual class methods called from virtual regular method

    consider the following example T1 = class   class procedure CP1;   procedure P1; virtual; end; T2 = class(T1)   class procedure CP1; end; procedure T1.P1; begin  …

    LacaK, Jonas Maebe, Michael Van Canneyt
    4
  29. Detecting IO errors with INI file

    I'm trying to detect if an INI file is open by another program, but the way I normally do this is not working. // open the file for write and keep it open to test…

    James Richters, Michael Van Canneyt, Sven Barth
    8
  30. Mustache templates implementation

    For my job I needed a Mustache templates library in pascal. Since dmustache (part of mORMot) fails the official mustache tests and did not work on the platform I needed…

    Michael Van Canneyt, leledumbo
    3

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999