Maybe of interest? The include file {$i ascdef.inc} is used from unit Windows with {$calling stdcall} in effect.
Most functions in it therefore don't have "stdcall". But some do. Is that known/wanted/...?
Similar in some other includes. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel