Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-11

CRT unit and bug #32558

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ched

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'

Reply by email

Tomas Hajny
to Ched
Ched wrote 10 lines
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

Reply by email