www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - RC support for codepages?

reply "yochanan" <yochanan aquanet.co.il> writes:
bs"d

Hi!  Does RC support a 'codepage' switch for which default language to
compile in? Or does the RC compiler support a LANGUAGE statement in resource
scripts? (Or some alternate method to choose the default language for
resources.)

Thanks.

                Yochanan Spielberg

www.torahsoft.com
Dec 21 2003
parent reply "yochanan" <yochanan aquanet.co.il> writes:
Hi Walter,

I tried setting #pragma setlocale("Hebrew");  in my resources .rc file - it
doesn't seem to do anything though.
Am I not using this pragma correctly, or is there some different way to
change language settings?

Thanks.

‏‏"yochanan" <yochanan aquanet.co.il> כתב בהודעה
news:bs56ab$1o6l$1 digitaldaemon.com...
 bs"d

 Hi!  Does RC support a 'codepage' switch for which default language to
 compile in? Or does the RC compiler support a LANGUAGE statement in
resource
 scripts? (Or some alternate method to choose the default language for
 resources.)

 Thanks.

                 Yochanan Spielberg

 www.torahsoft.com
Dec 24 2003
parent reply "yochanan" <yochanan aquanet.co.il> writes:
bs"d
Hello -

I found the Project Settings->Build->Resource Compiler page on the Project
menu, and changed the "Default Hex Language" to 40D (for Hebrew).  Whatever
I enter in the Codepage (next line in property sheet) is erased.  Still I am
getting menus listed in English (or in this case greek for Hebrew ascii vals
of 224 and up).
RCC compiles with -l40D however it doesn't seem to be working.  Am I missing
something trivial?  Thanks.

                            Yochanan Spielberg

‏‏"yochanan" <yochanan aquanet.co.il> כתב בהודעה
news:bsbshu$1viq$1 digitaldaemon.com...
 Hi Walter,

 I tried setting #pragma setlocale("Hebrew");  in my resources .rc file -
it
 doesn't seem to do anything though.
 Am I not using this pragma correctly, or is there some different way to
 change language settings?

 Thanks.

 ‏‏"yochanan" <yochanan aquanet.co.il> כתב בהודעה
 news:bs56ab$1o6l$1 digitaldaemon.com...
 bs"d

 Hi!  Does RC support a 'codepage' switch for which default language to
 compile in? Or does the RC compiler support a LANGUAGE statement in
resource
 scripts? (Or some alternate method to choose the default language for
 resources.)

 Thanks.

                 Yochanan Spielberg

 www.torahsoft.com
Dec 24 2003
parent "Walter" <walter digitalmars.com> writes:
"yochanan" <yochanan aquanet.co.il> wrote in message
news:bsc3ml$2bcl$1 digitaldaemon.com...
 bs"d
 Hello -

 I found the Project Settings->Build->Resource Compiler page on the Project
 menu, and changed the "Default Hex Language" to 40D (for Hebrew).
Whatever
 I enter in the Codepage (next line in property sheet) is erased.  Still I
am
 getting menus listed in English (or in this case greek for Hebrew ascii
vals
 of 224 and up).
 RCC compiles with -l40D however it doesn't seem to be working.  Am I
missing
 something trivial?  Thanks.

                             Yochanan Spielberg
I don't know what the bug here is. There is a thread over in news.digitalmars.com.D that might be helpful, though.
Dec 26 2003