Function Exports Missing from Ws2_32.dll


Symptoms


If you run a program that uses Windows Sockets on Terminal Server Edition, you may receive an error message similar indicating that an entry point is missing from Ws2_32.dll, as shown in the following examples:

Run-time error '453' Can't find DLL entry point WPUCompleteOverlappedRequest in ws2_32


Run-time error '453' Can't find DLL entry point WSAProviderConfigChange in ws2_32
NOTE: The exact format of the error message depends on the software development environment used to build the program.

Cause


The WPUCompleteOverlappedRequest and WSAProviderConfigChange entry points are not exported by the version of Ws2_32.dll that is included with Terminal Server Edition. Therefore, they are inaccessible at run time.

Resolution


To resolve this problem, obtain the latest service pack for Windows NT Server version 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
152734 How to Obtain the Latest Windows NT 4.0 Service Pack

Workaround


To work around this behavior, replace the Terminal Server Edition version of the Ws2_32.dll file with the version of this file that is included with Windows NT 4.0 Service Pack 5.

Status


Microsoft has confirmed that this is a problem in Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT Server version 4.0, Terminal Server Edition Service Pack 6.