[fpc-pascal] CRT unit and bug #32558

Tomas Hajny XHajT03 at hajny.biz
Sat Nov 7 00:27:20 CET 2020

On 2020-11-06 23:54, Ched via fpc-pascal wrote:
> Dear All,
> I have some difficulties using the crt unit.
> For what I can see, https://bugs.freepascal.org/view.php?id=32558
> could well be the answer, specialy a call like SetUseACP(False); . At
> the end of the bug report, it is said that the crt unit will be
> ugraded in 3.1.1. I run 3.2.0 under both Linux and W10, but there is
> apparently no callable SetUseACP procedure in the crt unit. Is it
> available in 3.2.0 ?

Yes, it should be available (under Win32/Win64). It makes no sense under 
Linux, because Linux doesn't differentiate between process codepage and 
console codepate. I guess it doesn't appear in the docs, because those 
are generated under Linux, but you can find it in sources 


More information about the fpc-pascal mailing list