PRB: Thai resource problem on VC++ 4.0 / 5.0Last reviewed: January 8, 1998Article ID: Q178622 |
The information in this article applies to:
SYMPTOMSIn VC++ 4.x or 5.0, you can open a file, such as an executable or a DLL, to edit its resources. You can choose a resource such as a dialog box, right- click the dialog box to get its properties, and then choose a language in a pull-down list. However, Thai, the language for Thailand, is not in this list.
CAUSEThai is a new language being added to the system, and therefore it will take awhile for the changes to be added to the appropriate products.
RESOLUTIONThe current Software Development Kit (SDK) (from VC++ or MSDN) has all the support for the Thai language. You can search for the "THAI" string of the header files in the include directory and see all the Thai-specific constants and #define. Until the Thai language resource is supported in VC++, developers can manually set the property of an object to the Thai language by manually typing in Thai specifics. Developers can do the same on NT 4.0 Thai.
STATUSMicrosoft will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe following is a simple example how developers can manually set the property of an object to Thai language. Manually open the resource file and modify it similar to the example below. If you do not have the source, then you must run VC++ under Thai Windows 95 and select the default language.
/////////////////////////////////////////////////////////////////////////// // Thai resources#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_THAI #pragma code_page(874) #endif //_WIN32
/////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_BITMAP BITMAP DISCARDABLE "bitmap.bmp" #endif // Thai resources /////////////////////////////////////////////////////////////////////////// Keywords : kbcode Version : WINDOWS:5.0 Platform : WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |