Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2021-12

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. {$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
  8. 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
  9. 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
  10. 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
  11. Link on another host - how to collect and copy all files?

    I've got into troubles with a dynamic library on Linux. It uses pthreads but on the target system glibc 2.24 is used, while on my development machine 2.34 is being used.…

    Joost van der Sluis, Jonas Maebe
    2
  12. Building fpc 3.2.2 from sources - which compiler to use for install?

    I am building fpc 3.2.2 from sources on a Linux Mint x64 box. When I compile fpc inside the downloaded source folder I use this: make all FPC="$HOME/devel/fpc/ppcx64"…

    Bo Berglund, Marco van de Voort
    2
  13. Getting Last User Input reliably

    I'm trying to get the time lapsed since the last user input with keyboard or mouse on a Windows PC. For this I am doing: GetLastInputInfo(Last_Input_Info); IdleTime:=…

    James Richters, Jonas Maebe, Luca Olivetti
    10
  14. How To: Use lib curl example

    I was having some problems using vanilla sockets and OpenSSL to read a few specific web pages using HTTPS. Normally I don't have any problems using HTTPS, but with a few…

    Anthony Walter, Michael Van Canneyt, Rainer Stratmann
    6
  15. TProcess Running is unreliable on Linux

    On Linux using 3.3.1 build of FPC I've found that in many situations the Running property of TProcess is unreliable. Is this a problem with which anyone is familiar?…

    Anthony Walter, Michael Van Canneyt
    2
  16. Named optional arguments

    This was discussed before some years ago with no conclusion () but I'd like to bring it up again. Can we consider extending the variant dispatch call named parameters to…

    Ryan Joseph, Jonas Maebe, Mattias Gaertner
    17