[Lazarus] Breaking change

Martok listbox at martoks-place.de
Mon Jul 24 11:02:38 CEST 2017


Am 23.07.2017 um 22:01 schrieb Sven Barth via Lazarus:
> - aggregates (which is what a TGUID is) are always passed as pointers
> for stdcall functions (basically all functions that are related to COM
> and thus to REFIID) and also the Win64 ABI anyway, so a mere "TIID"
> already behaved correctly for the Windows targets
They weren't always, at least in this particular revision I reported the
original bug against. Ended up having the GUID itself on the stack, not a
reference - but only with const, and only in some functions. No specifier would
have worked too, but I think constref is more descriptive.



More information about the Lazarus mailing list