XLL+ Class Library (7.0)

::XllLoadStringForExcelLanguageA

Loads a string from the resource file, for the language of the Excel version

BOOL XllLoadStringForExcelLanguageA(
   UINT resid,
   CStringA& str
);

Parameters

resid

Numeric resource string identifier.

str

If the function succeeds, the string will be loaded into this variable.

Return Value

TRUE if the function succeeds, FALSE if it fails. It will fail if the current resource file handle is invalid, or if the resource cannot be found.

Remarks

The function searches for a string resource in the language implied by the country code of the version of Excel that is running. It is equivalent to calling:

XllLoadStringForLanguage(resid, XllGetExcelLanguage(), str);

Requirements

Header: xllres.h

See Also

Global resource functions