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. How to inline CompareFunc to Sort method in generic abstract class

      I wrote a generic abstract class - a list based on dynamic array (i.e. array of T;) and this class can be specialized elsewhere with any type (records or classes).…

    Vojtěch Čihák, Adrian Veith, Flávio Etrusco
    10
  2. Program efficiency

    I was wondering if breaking up large complicated formulas into smaller sections that use more variables is less efficient than just the large formula. In other words.. is

    James Richters, DougC, geneb
    8
  3. Strange floating-point result

    by chance, I stumbled upon a strange behavior in floating-point calculation. Here's the example: program Project1; var f: double; n: integer = 1758; m: integer = 0; begin

    Thomas Kurz, Jonas Maebe
    2
  4. GStreamer API unit added

    For all people interested in sound/video streaming: After lots of work, I added the gst unit to the FPC packages. This unit contains the import declarations for the full…

    Michael Van Canneyt, Aruna Hewapathirane, Marco van de Voort
    3
  5. Test

    Test, please ignore . Dimitrios Chr. Ioannidis

    Dimitrios Chr. Ioannidis
    0
  6. Can't build single package

    IIRC I did it in the past but now: D:\fpc-3.2.2\packages\fcl-web>make C:/FPC/3.2.2/bin/i386-Win32/ppc386.exe fpmake.pp -n -Fu../../rtl -Fu../../packages/paszlib…

    Luca Olivetti, Tomas Hajny
    7
  7. Play audio on windows

    I’m trying to port a Mac program to Windows. Which is the preferred low-level API to use which FPC includes units for (if any)? It would be nice to set volume and…

    Hairy Pixels
    0
  8. pthread_detach

    The POSIX thread library has a function called pthread_detach (https://man7.org/linux/man-pages/man3/pthread_detach.3.html). Do the RTL threads have anything comparable?…

    Hairy Pixels, Marco van de Voort
    4
  9. Function references and coroutines

    Since function references are now implemented in the compiler I wonder if this could open the door to implementing coroutines. I remember some years I tried using…

    Hairy Pixels
    0
  10. Calculating CRC16?

    I am working on a handler for IoT data from an electricity meter which communicates via TTL serial at 115200 baud. It only sends data in packets of less than 1 kbytes…

    Bo Berglund, Fabio Luis Girardi, Giuliano Colla
    6
  11. MQTT package for freepascal/lazarus?

    I am looking for a pascal implementation of the MQTT protocol. I could not find anything inside Lazarus' OnLinePackageManager. Is there something like that available? Bo…

    Bo Berglund, Jean SUZINEAU, Karoly Balogh
    14
  12. FreePascal and the OrangePi

    Dumb ? What download should I use to install the latest version of FreePascal on the OrangePi 4 LTS, I am running Debian 3.0.6 Bullseye. The Orange Pi 4 LTS is an SBC…

    Terry A. Haimann, Florian Klämpfl, Travis Siegel
    2
  13. Threaded webserver and TJSONRPCModule instances: can I be sure there's only one?

    I'm using a TFPHTTPServerHandler in threaded mode. I'm also using a TJSONRpcModule. I see that, even if the calls come from different threads, only one instance of the…

    Luca Olivetti, Michael Van Canneyt
    7
  14. Problem with code aligning (probably)

      I wrote a generic class to test sorting algorithms and also benchmarking them. I have following problem:   When I change even a single line of code anywhere in that…

    Vojtěch Čihák, Jonas Maebe
    5
  15. Request to make TJSONStreamer.StreamProperty virtual

    For the JSON RPC library I wanted to supported dynamic arrays but in order to do this I needed to duplicate TJSONStreamer's ObjectToJSON and StreamProperty in order to…

    Hairy Pixels, Michael Van Canneyt
    3
  16. Exploring block statements with CodeTools not working

    I’m trying to look at the code in a the begin..end section of this sample program but for some reason when it gets to the BeginBlock node child count is always 0…

    Hairy Pixels, Mattias Gaertner, Ondrej Pokorny
    7
  17. Open array compatibility

    Another question I just ran in to. Why isn’t "array of TMyClass” compatible with “array of TObject” open array? TMyClass is a descendant of TObject and dynamic…

    Hairy Pixels, Michael Van Canneyt
    2
  18. Iterating over elements from GetDynArrayProp

    How can I iterate over the pointer that is returned from GetDynArrayProp? I tried to cast it as a dynamic array of the element type but calling Length() on the returned…

    Hairy Pixels, Michael Van Canneyt
    3
  19. [Question] How to submit our patch?

    We, a team working for Loongson, are ready to submit some patches which support a new architecture named LoongArch for FreePascal. [1] is one of repositories about…

    Jinyang He, Christo Crause, Sven Barth
    4
  20. Why TSqlScript has no parameters?

    I need to execute more than one statement. TSqlQuery it seems to accept multiple statements but then it gives a strange error (posgtresql error "no parameter $2", the…

    Luca Olivetti, Michael Van Canneyt
    2
  21. iOS

    I would be pleased to know where I can find the latest iOS parsed headers and possibly a hello program. Also, the cross compilers for iOS don't seem to be available at…

    Adriaan van Os, Hairy Pixels, Jonas Maebe
    8
  22. Variants with classes and records

    Is it possible to assign a class to a variant? I tried and get a crash. If not, why not? It’s just a pointer so I would expect it to work. I also see a “varRecord”…

    Hairy Pixels, Marco van de Voort, Sven Barth
    4
  23. CodeTools complete code

    I’m trying to use the CompleteCode function in the CodeTools library and doing some formatting I don’t want. Calling it over the “MyProcedure” method in the…

    Hairy Pixels, Bart, Mattias Gaertner
    8
  24. JSON RPC send server request to client

    Quick question, I’ve been using the JSON RPC package to receive messages from the client and dispatch methods but I need to send a request from the server to the…

    Hairy Pixels, Michael Van Canneyt, Wayne Sherman
    10
  25. JSONToObject with array of any type

    I have some JSON with a “arguments” value which can be an array of JSON type. When it’s received and parsed with TJSONDeStreamer.JSONToObject how can I represent…

    Hairy Pixels, Michael Van Canneyt
    1
  26. JSON RPC changes in 3.3.1

    So I got the project building after changing the enums but now after running the server breaks after sending the first request and I get the error "'No class…

    Hairy Pixels, Luca Olivetti, Michael Van Canneyt
    14
  27. Lazarus Release 2.2.4

    The Lazarus team is glad to announce the release of Lazarus 2.2.4. This is a bugfix release and was built with FPC 3.2.2. Here is the list of changes for Lazarus and…

    Mattias Gaertner
    0
  28. Enum property can't be published

    I just tried to build a lazarus project using 3.3.1/ppca64 and I’m getting an error that an enum can’t be published. This was working on 3.2.2/ppcx64 so what changed?

    Hairy Pixels, Marco van de Voort, Ondrej Pokorny
    6
  29. mciSendString with long file names

    I'm trying to get mciSendString() to work with long file names with spaces in them and I'm not having any success. I know with winnows you need quotes around long file…

    James Richters, Alexander Grotewohl, Alexander Hofmann
    14
  30. Learning Guide Focused On Android and Mobile

    I'm looking for any learning materials that may help me learn free pascal to the target Android and Mobile. There are a good number of tutorials online for general…

    Charuza Family
    0

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