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. Avoiding that terminal window is opened when running a app with allegro.pas graphics?

    If I create a shortcut to the binary and run it from the desktop a terminal window is opened. Is there away to avoid this?

    ture S
    0
  2. It's alive !

    Finally, the moment has come: https://www.youtube.com/watch?v=xos2MnVxe-c Following up on a bounty offered, Dmitry Boyarintsev has accomplished milestone one in the…

    Michael Van Canneyt, Jean SUZINEAU, Joao Schuler
    11
  3. for-in loop cast

    Question I’ve always had. Why do I need to cast “value” to “pointer" otherwise I get: Incompatible types: got "Pointer" expected “TObject” error?. I don’t…

    Ryan Joseph, Ben Grasset, Sven Barth
    4
  4. Printing terminal colors with writeln

    In C I can do: // https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences printf("\033[31;1;4mHello\033[0m"); and get red text in the terminal…

    Ryan Joseph, geneb, Jonas Maebe
    4
  5. FPC docs about FindFirst

    https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. 2) correct the example: call FindClose only inside…

    AlexeyT, Anthony Walter, Ched
    15
  6. Calculating Pixels to represent 3D coordinates

    I'm curious if Freepascal has any package available that would calculate X,Y screen pixels based on 3D X,Y,Z data at some given rotations. I'm using Agg-Pas with…

    James Richters, Graeme Geldenhuys, Gustavo Enrique Jimenez
    14
  7. Overloading Inc and Dec procedures?

    seems, that overloading of Inc, Dec internal compiler procedures is not allowed. Is it by intention or can it be fixed (adding overload keyword to system function…

    LacaK, Sven Barth
    2
  8. Generics: Error: Can't determine which overloaded function to call

    I have generics record, where one method computes distance between 2 points: function T2DPoint.Distance(P: T2DPoint): Single; begin   Result := Sqrt(Sqr(x-P.x) +…

    LacaK
    1
  9. Read lines into UnicodeString variable from UCS2 (UTF-16) encoded text file

    is there any smart way how to read string data line by line from UCS2 encoded text files (lines delimited by $0A00). Using ReadLn(TextFile, UnicodeStringVariable) does…

    LacaK, Bart, DougC
    26
  10. Illegal counter variable?

    Can someone please tell me why this happens? Var I : Longint = 0; Begin For I := 1 to 6 Do Writeln(I); End. This gives me : initialize.pas(4,5) Error: Illegal counter…

    James Richters, Bart, Bernd Oppolzer
    30
  11. Very vague gettickcount64 description?

    While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units…

    Paulo Costa, Alexander Grotewohl, DougC
    31
  12. Challenge accepted

    Few months ago I read somewhere on the fpc-mailinglists that someone stated that FPC is fine, but it could use more additional stuff. I really searched, but I can not…

    Joost van der Sluis, Cyrax, Marco van de Voort
    7
  13. Tests results of several pascal based JSON parsers

    I've posted a new page that tests the speed and correctness of several pascal based JSON parsers. https://www.getlazarus.org/json/tests/ In full disclosure I am the…

    Anthony Walter, Alan Krause, Ben Grasset
    18
  14. Interface delegation causes memory leak

    - unit DelegateTalkerImpl; -   - interface -   - {$MODE OBJFPC} -   - uses -   -     TalkerIntf; -   - type -   -    …

    Zamrony P. Juhara
    0
  15. USB Human Interface Devices

    Does Freepascal have support for USB Human Interface devices? I am attempting to interface to an WHB04B-4 https://www.amazon.com/gp/product/B07M5ZY1P2 I have an…

    James Richters, Brian, Dimitrios Chr. Ioannidis
    164
  16. how to convert JNByteBuffer variable type to type usable by fw.write

    Please, does somebody of us know how to write file by using binary mode and writing data from The variable which have JNByteBuffer variable type? What do I had to do so…

    Mgr. Janusz Chmiel, Jonas Maebe
    2
  17. ppc64le ABI problem

    while examining a crash when running Lazarus on ppc64le, I found the following issue in function calls. Calls to functions with more than eight parameters seem to be…

    Unknown author, Florian Klaempfl, Florian Klämpfl
    18
  18. A new design for a JSON Parser

    I know the FCL already has a capable JSON parser, but I am writing some Amazon web service interfacing projects and wanted a smaller easier to use JSON parser to assist.…

    Anthony Walter, Zamrony P. Juhara
    2
  19. New Cocoa headers

    I just updated to the newer Cocoa headers (Thanks Jonas!) and I've run into a problem with Lazarus. NSExtensionContext.inc includes this line: {$if…

    Zoë Peterson, Jonas Maebe, Ryan Joseph
    3
  20. fpcjvm code for examination

    Because my Java knowledge are very very very weak my attempts to call new Android API functions consists of GOogle search engine which shows Me some code examples from…

    Mgr. Janusz Chmiel
    1
  21. bug while generating androidR25.pas and Androidr25.inc

    I know, that this task is heavy and should be only performed by The elites among Pascal programmers not by users of this programming language. But I Am sure, that if…

    Mgr. Janusz Chmiel
    0
  22. linking Openwatcom object files (DOS)

    While reading some old FPC posts I saw that the old DOS compiler (3.0.4) used the OpenWatcom linker. Does this mean that I can link object files and libraries created…

    Andreas Berger, Tomas Hajny
    2
  23. Documentation generation

    How are the FPC RTL documentations generated? I wanted to see if I could generate .docsets files from them also. Ryan Joseph

    Ryan Joseph, Graeme Geldenhuys, leledumbo
    4
  24. TFPSList clear but not shrink

    Is it possible to remove or clear items from TFPSList without actually shrinking the memory (i.e. setting capacity to 0)? Looking the source below I see every time I…

    Ryan Joseph
    0
  25. String type with specified length and without codepage

    I try to rewrite some C/C++ code with FPC. I don't know which is the best string handling technique in this case. The original code for example: char …

    Gabor Boros, Dmitry Boyarintsev, Jonas Maebe
    3
  26. Compiler regression

    Hi all Could somebody look at https://bugs.freepascal.org/view.php?id=35877 ? Latest fpc trunk is completely broken while using generics.collections. Denis Golovan

    denisgolovan, Jonas Maebe
    2
  27. FPCJVM Android JVM target and Android 23.inc issue

    I have fallen in to complex issue and I do not know how to solve that. I can make myself happy thanks to Pandroid and his author, because I can create, modify some…

    Mgr. Janusz Chmiel
    0
  28. where to find materials about MP3 file format

    I have A very big and non easy dream. Making similar MP3 editor like MP3 direct cut for Windows is. But sure! I would like to develop it for Android. And I want to…

    Mgr. Janusz Chmiel, George Bakhtadze, José Mejuto
    4
  29. PPCJVM Android JVM target and 64 bit native libraries calling

    Please does somebody of you know, if is it possible to call 64 Bit native .so libraries when user uses PPCJVM and Android JVM target and system produces .dex file from…

    Mgr. Janusz Chmiel
    0
  30. += property bug?

    Is this a bug? It should resolve to: d.setter(d.getter + 10) but it doesn’t seem to be working. ======================================== {$mode objfpc} {$modeswitch…

    Ryan Joseph, Alexander Grotewohl, Bart
    38

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