<gilevgi@gmail.com> wrote...
> I am using windows vista as operating sytem in my computer. I also
> want to use Turbo Pascal 7.0. But in pascal characters are not written
> properly. for example i am preesing "," bu it write ":".
> When I was using windows 98, I have solved this problem by changing
> line
>>Country=090,857,C:\WINDOWS\COMMAND\country.sys
> in config.sys (tab) in sytem configuration utility.
> but I don't how I can do this in vista. Can you help me on this
> issue?
> Note: to change keyboard language is not usefull.
I guess you are running the DOS version of Turbo Pascal 7.0? For DOS
applications running on Vista, you can still configure COUNTRY.SYS, as in
previous versions.
Vista itself has far better multilingual abilities than earlier versions of
Windows. But for compatibility, the NTVDM ("NT Virtual DOS Machine") in
Vista behaves just like the MS-DOS of old. You configure Vista's NTVDM to
run a Turkish codepage just like you did on a "real" MS-DOS machine long
ago.
On Windows NT (including 2000, XP and Vista) a DOS application takes its
startup environment from the files C:\Windows\System32\Config.NT and
C:\Windows\System32\Autoexec.NT. To activate a Turkish codepage for a DOS
application, add the Turkish code page commands to
C:\Windows\System32\CONFIG.NT:
In CONFIG.NT add to the end of the file:
COUNTRY=090,857,C:\Windows\System32\COUNTRY.SYS
Now to test, open a Command Prompt.
Then run the command "command.com".
This will start an instance of the MS-DOS Command processor.
Run the command "edit", to start the DOS editor.
Try typing in a few words in Edit, to see if the "," and ";" are in effect
("Edit" is a DOS application)
If it works okay in Edit but not in Turbo Pascal, then the problem is
specific to Turbo Pascal. If Edit has the same problem as Turbo Pascal, you
know the problem is in the settings configured for your NTVDM.
Hope it helps. Selamlar
--
Andrew McLaren
amclar (at) optusnet dot com dot au