Microsoft KB Archive/329101

= The gethostbyname function does not work with a host name string that contains international characters =

Article ID: 329101

Article Last Modified on 5/27/2005

-

APPLIES TO


 * Microsoft Windows CE .NET 4.1

-



This article was previously published under Q329101



SYMPTOMS
The gethostbyname Windows Sockets function does not resolve host names when the host name contains international characters.



Hotfix Information
A supported software update is now available from Microsoft as Windows CE 4.1 Core OS QFE 329101. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:

837392 How to locate core operating system fixes for Microsoft Windows CE Platform Builder products

File Information
The English version of this package should have the following file attributes or later:   Date         Time   Version           Size     File name -  16-Nov-2002  00:02  4.1.2.1120      1,084,000  021120_armv4i_wce41-q329101.exe 16-Nov-2002 00:02  4.1.2.1120      1,079,904  021120_armv4t_wce41-q329101.exe 16-Nov-2002 00:02  4.1.2.1120      1,084,000  021120_armv4_wce41-q329101.exe 16-Nov-2002 00:02  4.1.2.1120      1,026,656  021120_mips16_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,133,152  021120_mipsii_fp_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,133,152  021120_mipsii_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,145,440  021120_mipsiv_fp_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,145,440  021120_mipsiv_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,030,752  021120_sh3_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120      1,026,656  021120_sh4_wce41-q329101.exe 16-Nov-2002 00:03  4.1.2.1120        940,640  021120_x86_wce41-q329101.exe The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time                     Size     File name ---  Path: Public\Common\Oak\Lib\Armv4\Debug 14-Nov-2002 02:15                  1,099,532  Afdlib.lib 14-Nov-2002 02:15                    118,784  Afdlib.pdb 14-Nov-2002 02:17                     66,558  Nspm.lib 14-Nov-2002 02:17                     69,632  Nspm.pdb 14-Nov-2002 02:17                    359,116  Ws2.lib 14-Nov-2002 02:17                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Armv4\Retail 14-Nov-2002 02:03                    698,036  Afdlib.lib 14-Nov-2002 02:03                    118,784  Afdlib.pdb 14-Nov-2002 02:05                     53,428  Nspm.lib 14-Nov-2002 02:05                     69,632  Nspm.pdb 14-Nov-2002 02:05                    318,166  Ws2.lib 14-Nov-2002 02:05                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Armv4i\Debug 14-Nov-2002 01:52                  1,100,580  Afdlib.lib 14-Nov-2002 01:52                    118,784  Afdlib.pdb 14-Nov-2002 01:54                     66,636  Nspm.lib 14-Nov-2002 01:54                     69,632  Nspm.pdb 14-Nov-2002 01:54                    359,704  Ws2.lib 14-Nov-2002 01:54                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Armv4i\Retail 14-Nov-2002 01:38                    698,914  Afdlib.lib 14-Nov-2002 01:38                    118,784  Afdlib.pdb 14-Nov-2002 01:40                     53,440  Nspm.lib 14-Nov-2002 01:40                     69,632  Nspm.pdb 14-Nov-2002 01:40                    318,716  Ws2.lib 14-Nov-2002 01:40                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Armv4t\Debug 14-Nov-2002 01:28                  1,053,560  Afdlib.lib 14-Nov-2002 01:28                    118,784  Afdlib.pdb 14-Nov-2002 01:30                     61,884  Nspm.lib 14-Nov-2002 01:30                     69,632  Nspm.pdb 14-Nov-2002 01:30                    346,024  Ws2.lib 14-Nov-2002 01:30                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Armv4t\Retail 14-Nov-2002 01:20                    694,988  Afdlib.lib 14-Nov-2002 01:20                    118,784  Afdlib.pdb 14-Nov-2002 01:22                     53,108  Nspm.lib 14-Nov-2002 01:22                     69,632  Nspm.pdb 14-Nov-2002 01:22                    317,190  Ws2.lib 14-Nov-2002 01:22                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mips16\Debug 14-Nov-2002 02:51                    990,586  Afdlib.lib 14-Nov-2002 02:51                    118,784  Afdlib.pdb 14-Nov-2002 02:53                     68,048  Nspm.lib 14-Nov-2002 02:53                     69,632  Nspm.pdb 14-Nov-2002 02:53                    362,714  Ws2.lib 14-Nov-2002 02:53                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mips16\Retail 14-Nov-2002 02:43                    633,886  Afdlib.lib 14-Nov-2002 02:43                    118,784  Afdlib.pdb 14-Nov-2002 02:45                     51,258  Nspm.lib 14-Nov-2002 02:45                     69,632  Nspm.pdb 14-Nov-2002 02:44                    295,478  Ws2.lib 14-Nov-2002 02:44                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsii\Debug 14-Nov-2002 02:34                  1,115,034  Afdlib.lib 14-Nov-2002 02:34                    118,784  Afdlib.pdb 14-Nov-2002 02:36                     68,048  Nspm.lib 14-Nov-2002 02:36                     69,632  Nspm.pdb 14-Nov-2002 02:36                    362,714  Ws2.lib 14-Nov-2002 02:36                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsii\Retail 14-Nov-2002 02:26                    710,684  Afdlib.lib 14-Nov-2002 02:26                    118,784  Afdlib.pdb 14-Nov-2002 02:28                     55,058  Nspm.lib 14-Nov-2002 02:28                     69,632  Nspm.pdb 14-Nov-2002 02:28                    325,118  Ws2.lib 14-Nov-2002 02:28                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Debug 14-Nov-2002 03:08                  1,115,170  Afdlib.lib 14-Nov-2002 03:08                    118,784  Afdlib.pdb 14-Nov-2002 03:10                     68,070  Nspm.lib 14-Nov-2002 03:10                     69,632  Nspm.pdb 14-Nov-2002 03:10                    362,830  Ws2.lib 14-Nov-2002 03:10                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsii_fp\Retail 14-Nov-2002 03:00                    710,912  Afdlib.lib 14-Nov-2002 03:00                    118,784  Afdlib.pdb 14-Nov-2002 03:02                     55,078  Nspm.lib 14-Nov-2002 03:02                     69,632  Nspm.pdb 14-Nov-2002 03:02                    325,240  Ws2.lib 14-Nov-2002 03:02                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Debug 14-Nov-2002 04:14                  1,124,870  Afdlib.lib 14-Nov-2002 04:14                    118,784  Afdlib.pdb 14-Nov-2002 04:16                     68,840  Nspm.lib 14-Nov-2002 04:16                     69,632  Nspm.pdb 14-Nov-2002 04:16                    366,738  Ws2.lib 14-Nov-2002 04:16                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsiv\Retail 14-Nov-2002 04:07                    715,596  Afdlib.lib 14-Nov-2002 04:07                    118,784  Afdlib.pdb 14-Nov-2002 04:08                     55,264  Nspm.lib 14-Nov-2002 04:08                     69,632  Nspm.pdb 14-Nov-2002 04:08                    327,464  Ws2.lib 14-Nov-2002 04:08                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Debug 14-Nov-2002 03:41                  1,125,004  Afdlib.lib 14-Nov-2002 03:41                    118,784  Afdlib.pdb 14-Nov-2002 03:43                     68,862  Nspm.lib 14-Nov-2002 03:43                     69,632  Nspm.pdb 14-Nov-2002 03:43                    366,854  Ws2.lib 14-Nov-2002 03:43                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Mipsiv_fp\Retail 14-Nov-2002 03:33                    715,828  Afdlib.lib 14-Nov-2002 03:33                    118,784  Afdlib.pdb 14-Nov-2002 03:35                     55,284  Nspm.lib 14-Nov-2002 03:35                     69,632  Nspm.pdb 14-Nov-2002 03:35                    327,584  Ws2.lib 14-Nov-2002 03:35                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Sh3\Debug 14-Nov-2002 03:25                    999,388  Afdlib.lib 14-Nov-2002 03:25                    118,784  Afdlib.pdb 14-Nov-2002 03:26                     57,280  Nspm.lib 14-Nov-2002 03:26                     69,632  Nspm.pdb 14-Nov-2002 03:26                    330,692  Ws2.lib 14-Nov-2002 03:26                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Sh3\Retail 14-Nov-2002 03:17                    658,896  Afdlib.lib 14-Nov-2002 03:17                    118,784  Afdlib.pdb 14-Nov-2002 03:18                     49,616  Nspm.lib 14-Nov-2002 03:18                     69,632  Nspm.pdb 14-Nov-2002 03:18                    302,758  Ws2.lib 14-Nov-2002 03:18                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Sh4\Debug 14-Nov-2002 03:58                    998,784  Afdlib.lib 14-Nov-2002 03:58                    118,784  Afdlib.pdb 14-Nov-2002 04:00                     57,232  Nspm.lib 14-Nov-2002 04:00                     69,632  Nspm.pdb 14-Nov-2002 04:00                    330,392  Ws2.lib 14-Nov-2002 04:00                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\Sh4\Retail 14-Nov-2002 03:50                    657,676  Afdlib.lib 14-Nov-2002 03:50                    118,784  Afdlib.pdb 14-Nov-2002 03:52                     49,504  Nspm.lib 14-Nov-2002 03:52                     69,632  Nspm.pdb 14-Nov-2002 03:52                    302,470  Ws2.lib 14-Nov-2002 03:52                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\X86\Debug 14-Nov-2002 01:12                    983,420  Afdlib.lib 14-Nov-2002 01:12                    118,784  Afdlib.pdb 14-Nov-2002 01:13                     56,946  Nspm.lib 14-Nov-2002 01:13                     69,632  Nspm.pdb 14-Nov-2002 01:13                    307,556  Ws2.lib 14-Nov-2002 01:13                     86,016  Ws2.pdb

Path: Public\Common\Oak\Lib\X86\Retail 14-Nov-2002 01:04                    619,610  Afdlib.lib 14-Nov-2002 01:04                    118,784  Afdlib.pdb 14-Nov-2002 01:06                     45,792  Nspm.lib 14-Nov-2002 01:06                     69,632  Nspm.pdb 14-Nov-2002 01:05                    274,360  Ws2.lib 14-Nov-2002 01:05                     86,016  Ws2.pdb



MORE INFORMATION
Incorrect use of the MultiByteToWideChar function in the gethostbyname function caused an incorrect host name string to be sent to the DNS server or to the WINS server. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

Keywords: kbbug kbfix KB329101

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.