The only file required to support SNANLS API on Windows NT is SNANLS.DLL. To link to this DLL use the SNANLS.H header (located under the \SDK\INCLUDE subdirectory) and the SNANLS.LIB library file (located under the \SDK\LIB subdirectory) supplied with the SNA Server SDK. Note that individual Win32 NLS resource files must be installed for both Windows NT and Windows 95 in order to support the various languages and code pages.
The individual Win32 NLS files needed to support various languages are not normally installed during the Windows NT 3.51 or 4.0 setup. The EBCDIC Win32 NLS files were delivered as part of the Windows NT 4.0 Language Pack (see the \LANGPACK subdirectory on the Windows NT 4.0 CD-ROM). Copies of these Win32 NLS support files are bundled with SNA Server. The required Win32 NLS resource files are installed on the server machine by the setup program for SNA Server 3.0 and later.
For SNA client applications that use SNA NLS, the necessary NLS files will need to be copied from the SNA Server CD-ROM to the client machine. For Windows NT SNA clients, the NLS files must be copied to the \WINNT\SYSTEM32 subdirectory from the \SDK\SNANLS\WINNT directory on the SNA Server CD-ROM. For Windows 95 SNA clients, the NLS files must be copied to the \WINDOW\SYSTEM subdirectory from the \SDK\SNANLS\WIN95 directory on the SNA Server CD-ROM.
The registry settings required to use specific NLS files are enabled on the Windows NT server machine by the setup program for SNA Server 3.0 and later. For Windows NT and Windows 95 SNA clients, the appropriate registry settings must be set manually or by a vendor-supplied client installation program. The registry settings required to use the NLS language files are shown in the table below.
File name | Description of EBCDIC-Unicode NLS file | NLS EBCDIC code page | IBM host EBCDIC code page | Registry setting |
---|---|---|---|---|
c_037.nls | English (U.S./Canada) | 37 | 37 | Value Name=37 Type=REG_SZ Data=c_037.nls |
c_500.nls | International | 500 | 500 | Value Name=500 Type=REG_SZ Data=c_500.nls |
c_870.nls | Latin-2 Multilingual/ROECE | 870 | 870 | Value Name=870 Type=REG_SZ Data=c_870.nls |
c_875.nls | Greece | 875 | 875 | Value Name=875 Type=REG_SZ Data=c_875.nls |
c_1026.nls | Latin-5 Turkey | 1026 | 1026 | Value Name=1026 Type=REG_SZ Data=c_1026.nls |
c_20273.nls | Germany | 20273 | 273 | Value Name=20273 Type=REG_SZ Data=c_20273.nls |
c_20277.nls | Denmark/Norway | 20277 | 277 | Value Name=20277 Type=REG_SZ Data=c_20277.nls |
c_20278.nls | Finland/Sweden | 20278 | 278 | Value Name=20278 Type=REG_SZ Data=c_20278.nls |
c_20280.nls | Italy | 20280 | 280 | Value Name=20280 Type=REG_SZ Data=c_20280.nls |
c_20284.nls | Latin America/Spain | 20285 | 284 | Value Name=20284 Type=REG_SZ Data=c_20284.nls |
c_20285.nls | United Kingdom | 20285 | 285 | Value Name=20285 Type=REG_SZ Data=c_20285.nls |
c_20297.nls | France | 20297 | 297 | Value Name=20297 Type=REG_SZ Data=c_20297.nls |
c_20420.nls | Arabic | 20420 | 420 | Value Name=28596 Type=REG_SZ Data=c_20420.nls |
c_20423.nls | Greece | 20423 | 423 | Value Name=20423 Type=REG_SZ Data=c_20423.nls |
c_20424.nls | Hebrew | 20424 | 424 | Value Name=20424 Type=REG_SZ Data=c_20424.nls |
c_20838.nls | Thai | 20838 | 838 | Value Name=20838 Type=REG_SZ Data=c_20838.nls |
c_20871.nls | Icelandic | 20871 | 871 | Value Name=20871 Type=REG_SZ Data=c_20871.nls |
c_20880.nls | Cyrillic | 20880 | 880 | Value Name=20880 Type=REG_SZ Data=c_20880.nls |
c_20905.nls | Turkish | 20905 | 905 | Value Name=20905 Type=REG_SZ Data=c_20905.nls |
c_21025.nls | Cyrillic (Serbian, Bulgarian) | 21025 | 1025 | Value Name=21025 Type=REG_SZ Data=c_21025.nls |
Note On Windows NT and Windows 95, the registry settings are located under the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSer\ControlNls\CodePage subkey.
Windows 95 does not natively support Unicode, which is necessary to support the Win32 NLS API. SNA Server includes the necessary support for Unicode in the SNANLS.DLL file for Windows 95. Since Windows 95 does not come with the Win32 NLS files needed to support various languages, these NLS files are supplied with SNA Server in the \SDK\SNANLS\WIN95 subdirectory. For convenience, the NLS files for Windows NT are supplied in the \SDK\SNANLS\WINNT subdirectory on the SNA Server CD-ROM. Note that because of system differences, the NLS files for Windows NT and Windows 95 are different and may not be interchanged.