Re: [fpc-pascal] CRT unit and bug #32558

2020-11-06 Thread Tomas Hajny via fpc-pascal

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 
(packages/rtl-console/src/win/crt.pp).


Tomas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] CRT unit and bug #32558

2020-11-06 Thread Ched via fpc-pascal

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 ?


Cheers, Ched'
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal