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. SerReadTimeout question

    I can't seem to find any documentation or SerRead or SerReadTimeout.. searching for either along with Freepascal doesn't get me any results. If it exists somewhere and I…

    James Richters, Alexey Torgashin, Christo Crause
    3
  2. Get TMethod from function reference

    A function reference can call a class method but can you get the TMethod data from function references? It was possible with “is object” to cast to TMethod but that…

    Hairy Pixels, Michael Van Canneyt, Ondrej Pokorny
    13
  3. Getting Shift key with PTCCRT

    I have some key sequences with PTCCRT.READKEY where I use a lower case letter to do one thing and an uppercase to do another, but if the Capslock is on, they do the…

    James Richters, Nikolay Nikolov, Tomas Hajny
    6
  4. $modeswitch declared before $mode fails without warning

    One more thing today working with closures. Declaring the modeswitch before the mode does not actually enable the feature and gives no warning. What happens then is…

    Hairy Pixels, Florian Klämpfl, Sven Barth
    3
  5. Function reference doesn't capture in thread

    Can anyone explain why this program doesn’t capture the state of the local variable “I” and execute in order? It will return something like this: Invoked: 3 id:…

    Hairy Pixels, Sven Barth
    6
  6. Internal error 2019022201 from function reference

    This program gives internal compiler error 2019022201 (Free Pascal Compiler version 3.3.1 [2022/05/27] for aarch64). Something is wrong with the PPU. This is a very…

    Hairy Pixels, Sven Barth
    2
  7. Access Violation When SetLength(DynArray, Value)

    Is there a known edge case issue connected to setting the length of dynamic arrays? I have a program that simulates a billiards game, and during the rerack balls method…

    Anthony Walter, Adriaan van Os, James Richters
    13
  8. How to assign overloaded event handler?

    I don't know whether this is actually a bug or not but I cannot find a hint in the documentation. It seems that methods assigned to an event handler are not allowed to…

    Thomas Kurz, Michael Van Canneyt
    1
  9. fpwebfile, indexPageName and query -> 404

    if I request, e.g. http://localhost:8080 or http://localhost:8080/ fpwebfile returns the document defined as IndexPageName (in my case index.html), but if I request…

    Luca Olivetti, Michael Van Canneyt
    3
  10. Test Free Pascal program not compiling

    Trying to compile a small test pascal program on a arm cpu. I beleive it is an a53. Libre Le Potato I am getting the following error: Error: Error while assembling…

    Terry A. Haimann, Christo Crause, Tomas Hajny
    3
  11. Get highest element of a StringList

    I thought I would try: For Loop := 0 to High(MyStringList) do But I get "Error: Type mismatch" Is there a way to get the highest element of a stringlist other than: For…

    James Richters, Bart, Jean SUZINEAU
    16
  12. Why does nested function get corrupted?

    Curious more than anything, if is nested captures state in a record and passes it as an hidden self param, why does returning the variable and calling from outside the…

    Hairy Pixels, Ondrej Pokorny, Sven Barth
    7
  13. TJSONRPCModule: access the request from an handler.

    I added a "Web JSON-RPC Module" to my project, I dropped on it a TJSONPCHandler. I find no way to access the request (I want to check the RemoteAddress): 1) the module…

    Luca Olivetti, Michael Van Canneyt
    3
  14. Arguments gets corrupted with anonymous nested function

    The following program uses an anonymous nested function which captures a local variable. It seems the arguments get corrupted (likely because of the hidden first param…

    Hairy Pixels, Benito van der Zander, Jonas Maebe
    7
  15. reading a TFPGMap from several threads

    I have a couple of TFPGMaps that I populate once and never change. Is it safe to read them (i.e. use Find and Data[]) from different threads? I'd avoid using a critical…

    Luca Olivetti, Sven Barth
    2
  16. I am offering a $100 reward for linking static libraries

    I will pay $100 to the first person that can solve my problem of linking a compiled C static library to a Free Pascal program on Windows. Recently I have been building…

    Anthony Walter, Henry Vermaak, Jean SUZINEAU
    18
  17. BoolToStr

    I'm generating a report where I wish to display some Boolean values. I thought I would try BoolToStr, as according to:…

    James Richters, Jean SUZINEAU, Marco van de Voort
    12
  18. Is there any benefit for a Delphi/Free Pascal/Lazarus programmer to build a C DLL in debug mode ?

    Is there any benefit for a Delphi or Free Pascal/Lazarus programmer to build a C DLL in debug mode ? Could it and would it somehow lead to better debugging ? If so how ?…

    Skybuck Flying, Luca Olivetti
    1
  19. HTTPS Client certificate in TFPHTTPServer

    Hi! Now that I'm able to use TFPHTTPServer and HTTPS, I want to know how to use the certificate of HTTPS client to authenticate a session on TFPHTTPServer. This is…

    Fabio Luis Girardi
    0
  20. Class or Record Helper for Interface?

    I just tried to write a type / record /class helper for an interface type and the compiler deosn't seem to allow it. Is this allowed and what is the syntax? Also, are…

    Anthony Walter, Marco van de Voort, Sven Barth
    5
  21. Teaching Kids Using Free Pascal

    Some of you might not be aware, but I teach small groups of kids ages 8-16 computer programming and digital electronics. When teaching programming I often use Free…

    Anthony Walter, Michael Van Canneyt, Thomas Kurz
    3
  22. TFPHTTPServer and HTTPS

    Exists in FPC some example that demonstrates the use of TFPHTTPServer with HTTPS? The unique example that I have found is about TCustomHTTPApplication. Fabio Luis Girardi

    Fabio Luis Girardi, Alexey Torgashin, Michael Van Canneyt
    6
  23. Union field after property violates "field before property" rule + property of union field not possible.

    Delphi and presumably Free Pascal has some language inconsistency and problem/short coming concerning "Union Field" and/or "Union Property": The (previous) presented…

    Skybuck Flying, Jean SUZINEAU
    3
  24. Union followed by Property does not compile !

    program TestProgram3; { Test program to illustrate the 'union' followed by property problem in Delphi language and Free Pascal Language version 0.01 created on 1 august…

    Skybuck Flying, Martin Frb, Michael Van Canneyt
    3
  25. Re: Here is real time graphics and physics simulation, library

    Den 2022-08-01 kl. 09:40, skrev I have exactly the same principle for all code I create for my teaching. I maximize transparency and keep the size down. For graphics, I…

    Ingemar Ragnemalm, Marco van de Voort, Michael Van Canneyt
    2
  26. UBER H3 API working/partially converted

    (I mainly write this second e-mail to prevent you from wasting time on the previous e-mail, cause the conversion was already quite successfull with a different tool,…

    Skybuck Flying, Marco van de Voort
    1
  27. Here is real time graphics and physics simulation library

    I am looking for help adding in a bunch more features to my real time graphics and physics simulation library. Here is a very brief overview with some screenshots and…

    Anthony Walter, Michael Van Canneyt
    6
  28. UBER H3 Pascal Bindings (H2PAS produces bad output)

    Hexagon Grid library, I am trying to make a binding for Pascal with the help of H2PAS but it produces bad output, see example below.4 Any advise how to improve the…

    Skybuck Flying
    0
  29. Bug or feature ?

    I have a long code which include lines for writing stuffs into an assigned writable text-file F. WRITELN(F: 'Hello'); WRITELN(F, 'Hello'); The code can be compiled with…

    Ched, DougC, Sven Barth
    3
  30. Re: fpc-pascal Digest, Vol 216, Issue 16

    I got it working, but there are differences: When invoking WinRes, it looks as if the project directory is used as the base path. With fpcres, I think the directory in…

    Russ
    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