Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2022-01

  1. help with porting project

    Hi I need help with porting an open source project from delphi 7 to latest version of lazarus (target is win64). Please read all details here…

    Jessica Jones, Tobias Giesen
    1
  2. $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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. freepascal.org SSL_ERROR_BAD_CERT_DOMAIN

    https://freepascal.org/

    Rainer Stratmann, Dimitrios Chr. Ioannidis, Dmitry Boyarintsev
    15
  12. 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
  13. 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
  14. 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
  15. 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