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. JSON RPC on Mac M1 fails

    I don’t know where to start debugging this yet but I found that compiling for the aarch64 target now breaks my Pascal language server which uses JSON RPC. It breaks…

    Hairy Pixels, Michael Van Canneyt
    3
  2. Bit manipulation helpers

    I tried to use the bit helpers like https://www.freepascal.org/docs-html/rtl/sysutils/twordhelper.testbit.html but the bit to test is 0..15. I expected this to work…

    Ryan Joseph, gabor, Mattias Gaertner
    7
  3. Caller agnostic procedure variables

    This has been a constant problem for me with FPC and wanted to make a formal post with code examples since I've only mentioned it in passing before. How can it be…

    Ryan Joseph, Adriaan van Os, Michael Van Canneyt
    25
  4. Sorting a Stringlist on ValueFromIndex

    Is there a quick way to sort a stringlist on it's .ValueFromIndex field instead of it's .Names field? James

    James Richters, Michael Van Canneyt
    3
  5. Text Only printing on Windows.

    Way back in the old Turbo Pascal days, it was super simple to send text to a printer. I had written a program that printed text on labels in the order the labels were…

    James Richters, Alexander Grotewohl, LacaK
    4
  6. Issue with CSVDocument

    I have CSVDocument working, but something odd is happening. Everything is coming out as I expect, Except for the first cell.. it has some garbage at the beginning of it…

    James Richters, Bart, Michael Van Canneyt
    8
  7. Putting Delimited text into a StringList

    I'm trying to get Comma Delimited Text from a CSV File created with Microsoft Excel into a string list, but I keep getting spaces as delimiter characters. How can I…

    James Richters, Michael Van Canneyt, Tomas Hajny
    5
  8. $PASCALMAINNAME error with SDL/IPhone

    I thought I had this working some years ago but I'm confused again. :) When trying to use SDL on iPhone I include: {$PASCALMAINNAME SDL_main} But when I compile I get a…

    Ryan Joseph, Jonas Maebe
    4
  9. Macro expanding error

    I have this macro: {$define TCallback := TCallback2} which gives a long list of these errors. warning: Expanding of macros exceeds a depth of 16. What does this warning…

    Ryan Joseph, Pierre Muller, Sven Barth
    3
  10. Strange behavior in generics.collections TDictionary

    Consider the following code: *** PROGRAM project1; {$mode objfpc} {$longstrings on} // see output below {$modeswitch advancedrecords} USES Variants,…

    Thomas Kurz, Sven Barth
    1
  11. Interface section overload procedures are all public

    // making only one procedure bugtest public in the interface section // makes all other bugtest procedures public as well! // Lazarus 2.0.0+dfsg-2 // FPC-Version: 3.0.4…

    Rainer Stratmann, Bart, Sven Barth
    2
  12. Case statement for class introspection

    I saw a new syntax in Swift which I thought was clever and fits a pattern I've seen before. Basically it's a case statement for class types which lets you branch…

    Ryan Joseph, Marco van de Voort, Michael Van Canneyt
    30
  13. Windows Volume Control

    Are there functions to check the current volume level and to set the volume with just FPC (not Lazarus) on Windows 10? All I need is the master system volume, not any of…

    James Richters, Marc Weustink
    1
  14. StrToInt is using ShortString buffer?

    Hello. As I see in the commit https://gitlab.com/freepascal.org/fpc/source/-/commit/beecbf1581a986f544fde77aa428e05c21a35f6f StrToInt always uses ShortString buffer:…

    Alexey Tor., Bart, Benito van der Zander
    15
  15. Crash on Windows for Aarch64 target

    Some time ago it was announced an experimental support for Windows on Aarch64 (namely in this post…

    Volo Zyko, Marc Weustink, Sven Barth
    3
  16. Where can I find working code for xidel and dependencies

    I have been adviced to use xidel to analyze the content of websites, so when searcing for it I found that it is a FreePascal utility with the sources on GitHub.…

    Bo Berglund, Benito van der Zander
    2
  17. freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

    https://freepascal.org/

    Rainer Stratmann, Dimitrios Chr. Ioannidis, Dmitry Boyarintsev
    15
  18. FPF 3.04 and Synapse

    Is Synapse compatible with FPC 3.04  and which link should be used for the Synapse code as there are several ? Thanks Brian

    Vern, Michael Van Canneyt
    1
  19. Lazarus Release 2.2

    The Lazarus team is glad to announce the release of Lazarus 2.2. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal:…

    Mattias Gaertner
    0
  20. FPC Backtrace

    I'm curious if there is some way, perhaps with some directive or something to force a debug backtrace to happen, but without an error. I have a function that is getting…

    James Richters, Christo Crause, Graeme Geldenhuys
    5
  21. FPC and WebAssembly

    I'm glad to anncounce that FPC now covers working with webassembly in the browser. Because pictures say more than a thousand words, 3 demos: A modest "hello, world"…

    Michael Van Canneyt, duilio foschi, Jean SUZINEAU
    7
  22. More Webassembly...

    I've just committed to the FPC git repo the wasmtime unit. This unit can be used to load and use the wasmtime library. Using this library you can compile, load and run…

    Michael Van Canneyt
    0
  23. Improved FPC JSON-RPC support

    Thanks to the magic of RTTI and Invoke(), creating a JSON-RPC server has just become significantly easier ! Given an interface definition: IMyOtherInterface = interface…

    Michael Van Canneyt, Don Duvall, Graeme Geldenhuys
    14
  24. How to list IP and MAC of network adapters on Windows?

    Is there a way to enumerate the active adapters on a Windows computer with their IPv4 and MAC addresses? I am trying to convert a Linux reporting script to Windows, but…

    Bo Berglund, James Richters, Marco van de Voort
    9
  25. Creating a shared library (Linux)

    https://www.freepascal.org/docs-html/prog/progse55.html When analysing the mylib.o output file under Linux with nm -D mylib.o the answer is: no symbols. I have an export…

    Rainer Stratmann
    1
  26. Lazarus server maintenance

    On Monday 27 December 9.00 CET (8.00 GMT) the Lazarus server will be down for maintenance. This affects the following services: * Lazarus website * Lazarus mailinglists…

    Marc Weustink
    1
  27. {$include %dateyear%}

    I'm reading https://www.freepascal.org/docs-html/prog/progsu41.html It seems to me that {$include %dateyear%} , {$include %datemonthr%}  and {$include %dateday%}  are…

    Il Grande Beppe, Ched, James Richters
    5
  28. 64 bit Linux syscall from 32 bit fpc program

    Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc programm?

    Rainer Stratmann, Sven Barth
    2
  29. Not available duties

    I got a message from UPS this morning stating "! Duties, taxes, and fees totaling NaN are due for this delivery." Oops, I don't hope I will ever get a message from UPS…

    Adriaan van Os, Bart
    1
  30. Is there a range limitation for the in operator?

    I have been debugging a file analyzer program which is supposed to show a record if one clicks in the hex representation of the binary file content. I have a function…

    Bo Berglund, Sven Barth
    2

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