Re: Loading multiple resource files

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ajay Kalra (ajaykalra_at_yahoo.com)
Date: 01/21/05


Date: Thu, 20 Jan 2005 20:47:04 -0500

Why do you need to load all the resource files if they are identical except
for the language? Why not load the required language?

Also, why do you want to traverse thru the stringtables? What are you trying
to do?

--
Ajay Kalra [MVP - VC++]
ajaykalra@yahoo.com
"vssUser" <vssUser@discussions.microsoft.com> wrote in message
news:C8DB51B8-2498-49DE-9243-13381923C68D@microsoft.com...
> Hello Experts,
>
> My project requires to load several resource files that are in different
> languages at the same time.  Of course, these resources have the same ID.
> Since the last resource is the active resource; we are thinking of
creating a
> dynamic table and populate this with the resource string table.  The
problem
> is;
>
> (1)  Is there a structure to traverse through the STRINGTABLE
>
> (2) How do I enumerate the strings in the stringtable and the respective
IDs
>
> Thank you,
> SG


Relevant Pages

  • Re: Multilangual : how to?
    ... I use Binary compatible resource dll's for each of my languages. ... > it should load, load it and then get the messages into ... > I could also use a database and have a language table, ... > recompile, but the matter of distribution is still an issue. ...
    (microsoft.public.vb.general.discussion)
  • Re: Multilangual : how to?
    ... > it should load, load it and then get the messages into ... > I could also use a database and have a language table, ... > recompile, but the matter of distribution is still an issue. ... > I know that resource files are the most applicable way ...
    (microsoft.public.vb.general.discussion)
  • Re: string tables
    ... When the user selected a new language we would load the ... this be done with STRINGTABLES. ... In this case I would suggest using resource only DLLs. ...
    (microsoft.public.vc.mfc)
  • using multiple-language resource script
    ... I wrote a resource script with menu resources duplicated on several ... LPCTSTR lpszType, LPCTSTR lpszName, LANGID wIDLanguage, LPARAM lParam) ... int WINAPI _tWinMain(HINSTANCE hCurrInst, HINSTANCE hPrevInst, LPTSTR ... LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US ...
    (microsoft.public.win32.programmer.gdi)
  • Re: UNICODE Resourcen edieren
    ... system locale to the language you are trying to edit. ... wenn ich meinen deutschen WinXPproSP2 wie beschrieben auf japanisch stelle ... Immerhin bekommen die Resourcen beim auf Japanisch gestellten Rechner eine ... Eine richtige wird vom Visual Studio Resource ...
    (microsoft.public.de.vc)