ESLLIB Subroutine
Change the primary external string DLL and reset all string constants.
call EslXstrSetPrimaryDLL(DLL_NAME)
DLL_NAME
The name of the new primary string DLL.
Description
Change the primary external string DLL and reset all string constants and literals. In order to refresh regions and controls that are already displayed, use the use "xsrefresh" Action Statement.
If this subroutine succeeds, errorlevel is set to 0, otherwise it is set to one of the following error numbers.
1 File not found.
2 File is not recognizable as a DLL.
3 Not enough memory.
Any higher error number is an operating system specific value. See the appropriate system documentation for the API that loads DLLs.
Example
call EslXstrSetPrimaryDLL(LanguageDLLName_SV)
if (errorlevel = 0) then
use "xsrefresh"
else # Tell the user.
..
end if
See Also
EslXstrPreloadAllStrings( ) ESLLIB Subroutine
EslXstrResetAllStrings( ) ESLLIB Subroutine
EslXstrSetSecondaryDLL( ) ESLLIB Subroutine
use "xsrefresh" Action Statement