🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #558

How to use Resource DLL ?

#558
From: Chow Hoi Ka, Eric
Date: Mon, 07 Jun 1999 00:00
42 lines
2627 bytes
Hello,

If I make two resource for my applicattion, such as that can support
Chinese and English.

The resource use depends on tthe Area Region, right ?

The program will select the correct resource library when the Area
Region change.
Such as, when I compile the Resource Dll, if I set the region to be
United State, as the English. My program will dsplay English when the
Region is United State. Otherwise, if the Region is Taiwan or Hong Kong,
it will display Chinese, right ?

But, my queston is that, if I make a Chinese and English resource
library form my program.
Can I use the Resource library manually in my program(my means in
coding), and not dpends on the Area Region ?

Such as, in my program, I have a prefences seting, it can allow
selecting Chinese or Englsh.
Can  do this ? If I set it to be displayed Chinese, it will use the
Chinese Resource Library, otherwise, it will diisplay Engliish. My mean
is not change the Area Region in my program. Just select a certain
Resource library to be used.

Thanks.

Best regards,
Eric

--
     _                                                  _
    / ) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ( \
   / /  |                                            |  \ \
 _( /_  | _   Chow Hoi Ka, Eric                    _ |  _) )_
(((\ \> |/ )                                      ( \| </ /)))
(\\\\ \_/ /   E-Mail : d951686@sftw.umac.mo        \ \_/ ////)
 \       /                                          \        /
  \    _/     http://www.sftw.umac.mo/~d951686/      \_     /
  /   / |____________________________________________| \    \
 /   /                                                   \    \
Technical Details
Message-ID: <375AF11F.88008BDC@sftw.umac.mo>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1091e5,d31b5e1feb7fb1eb,start
X-Google-Attributes: gid1091e5,public
X-Google-Thread: fd817,d31b5e1feb7fb1eb,start
X-Google-Attributes: gidfd817,public
X-Google-Thread: 10baee,d31b5e1feb7fb1eb,start
X-Google-Attributes: gid10baee,public
From: "Chow Hoi Ka, Eric" <d951686@sftw.umac.mo>
Subject: How to use Resource DLL ?
Date: 1999/06/07
Message-ID: <375AF11F.88008BDC@sftw.umac.mo>
X-Deja-AN: 486439523
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: news@umacss2.umac.mo
X-Trace: umacss2.umac.mo 928706391 24367 161.64.4.206 (6 Jun 1999 21:59:51 GMT)
Organization: University of Macau
Mime-Version: 1.0
Reply-To: d951686@sftw.umac.mo
NNTP-Posting-Date: 6 Jun 1999 21:59:51 GMT
Newsgroups: comp.lang.pascal.delphi.misc,alt.comp.lang.borland-delphi,borland.public.delphi.winapi