PUBLIC char* XP_GetString (int id)
Get a cross platform string resource by ID
Documentation
Get a cross platform string resource by ID. This function makes localization easier for cross platform strings. The cross platfrom string resources are defined in allxpstr.h. You should use XP_GetString when:The caller should make a copy of the returned string if it needs to use it for a while. The same memory buffer will be used to store another string the next time this function is called. The caller does not need to free the memory of the returned string.
- Any human readable string that not in front-end
- With the exception of HTML strings (use XP_GetStringForHTML)
- The translator/localizer will then translate the string defined in allxpstr.h and show the translated version to user.
- Returns:
- Localized (translated) string
- Parameters:
- id - Specifies the string resource ID
- See Also:
- XP_GetStringForHTML
INTL_ResourceCharSet
alphabetic index hierarchy of classes
generated by doc++