Am 24.03.2023 um 15:04 schrieb Benito van der Zander via fpc-pascal:
why is a pointer to a char not a pchar (for type helpers)?

Because that's how helpers work in Delphi as well: The address operator has as a result an expression that allows the use of a helper for the raw Pointer type (no matter if $TypedAddress is enabled or not).

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to