On 05/01/2024 14:38, Thomas Kurz via fpc-pascal wrote:
The CDECL calling convention should pass all arguments on the stack
It does not do that in all (or even most) cases. The CDECL calling
convention passes arguments according to what the platform's ABI prescribes.
For Windows/x64, that is
Hello,
I'm using a declaration like this
TYPE TRSMControl = FUNCTION (AData: PtrInt): PtrInt; CDECL; VARARGS;
VAR RSMControl: TRSMControl;
to make calls to a DLL function which expects a variable number of arguments.
For example:
RSMControl (PtrInt(1), PtrInt(2), PtrInt(3))
On win32, this wor
Misconstruing complexity as sophistication: According to Wirth, “people seem
to misinterpret complexity as sophistication.” The more complicated a product
is, the more polished or knowledgeable the user would appear. Hence, software
vendors create complex software and send this marketing message
On Fri, 5 Jan 2024, Tony Whyman via fpc-pascal wrote:
"Swiss computer scientist Professor Niklaus Wirth died on New Year's Day,
roughly six weeks before what would have been his 90th birthday."
https://www.theregister.com/2024/01/04/niklaus_wirth_obituary/?utm_source=daily&utm_medium=newsle
"Swiss computer scientist Professor Niklaus Wirth died on New Year's
Day, roughly six weeks before what would have been his 90th birthday."
https://www.theregister.com/2024/01/04/niklaus_wirth_obituary/?utm_source=daily&utm_medium=newsletter&utm_content=top-article
_