Microsoft KB Archive/99392

{|
 * width="100%"|

HOWTO: Use SetThreadLocale for Language Resources

 * }

Q99392

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK)

-

SUMMARY
Under Windows NT and Windows 2000, each resource loading application programming interface (API) is based on the thread's locale. Each thread has a locale--usually the default system locale.

You can change the thread locale by calling SetThreadLocale. To obtain the language resource you want, just set the thread locale to the locale you want, then call the normal resource loading API.

Additional query words:

Keywords : kbOSWinNT kbOSWin2000 kbResource kbSDKWin32 kbGrpDSUser kbOSWin95 kbOSWin98 kbIntlDev

Issue type : kbhowto

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch