🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #408

Re: NtSetDefaultLocale

#408
From: Bob Gonder
Date: Mon, 28 Apr 2008 15:07
18 lines
1543 bytes
bar wrote:

>Can i change the value for non-Unicode language selected for pc and restart 
>it manually.

That is a poor way to do things.
Never make system-wide changes just so your program looks right.

>I need to give a free program in Hebrew language. But many pc do not have 
>this selected.

Have a look at SetThreadLocale()
For GUI apps, look in the help for "About National Language Support"

For consoles, the displayed font is controled by the code-page.
Look at SetConsoleOutputCP() and the help "Code-Page Identifiers".

Alternative: Supply and use a Hebrew Font.
Technical Details
Message-ID: <5dob1415p5koghh6edhc3oct0qah24jeft@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <481594de@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b2e3bf6284022712
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: NtSetDefaultLocale
Date: Mon, 28 Apr 2008 08:07:25 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <5dob1415p5koghh6edhc3oct0qah24jeft@4ax.com>
References: <481594de@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.144.65
X-Trace: newsgroups.borland.com 1209395243 67.77.144.65 (28 Apr 2008 08:07:23 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail