fpc-pascal · 2021-12
- FPC and WebAssembly7
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"…
- More Webassembly...0
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…
- Improved FPC JSON-RPC support14
Thanks to the magic of RTTI and Invoke(), creating a JSON-RPC server has just become significantly easier ! Given an interface definition: IMyOtherInterface = interface…
- How to list IP and MAC of network adapters on Windows?9
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…
- Creating a shared library (Linux)1
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…
- Lazarus server maintenance1
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…
- {$include %dateyear%}5
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…
- 64 bit Linux syscall from 32 bit fpc program2
Is it possible to make a direct 64 bit Linux syscall from a 32 bit fpc programm?
- Not available duties1
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…
- Is there a range limitation for the in operator?2
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…
- Link on another host - how to collect and copy all files?2
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.…
- Building fpc 3.2.2 from sources - which compiler to use for install?2
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"…
- Getting Last User Input reliably10
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:=…
- How To: Use lib curl example6
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…
- TProcess Running is unreliable on Linux2
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?…
- Named optional arguments17
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…
