Defining the Locale IDs

Refer to the next section to obtain the language identifiers (LANGIDs) for the supported languages.


// Locale IDs for the languages that are supported.
#define LCID_ENGLISH MAKELCID(MAKELANGID(0x09, 0x01), SORT_DEFAULT)
#define LCID_GERMAN  MAKELCID(MAKELANGID(0x07, 0x01), SORT_DEFAULT)

Using the example code from the Hello sample, define member variables that can be used to contain U.S. English and German type information.


class CHello : public IHello
{
public:
   :

private:
   LPTYPEINFO m_ptinfoEnglish;  // English type information for application interface
   LPTYPEINFO m_ptinfoGerman;   // German type information for application interface
   :
};
 

 

 

Show: