Win32s and LAN Manager APIs (109204)
The information in this article applies to:
- Microsoft Win32s 1.25a
- Microsoft Win32s 1.0
- Microsoft Win32s 1.1
- Microsoft Win32s 1.15
- Microsoft Win32s 1.2
- Microsoft Win32s 1.25
This article was previously published under Q109204 SUMMARY
NOTE: Win32s provides support for NetBIOS and Windows Sockets.
There is a NETAPI32.DLL shipping with Win32s. However, this doesn't have
support for Microsoft LAN Manager application programming interfaces
(APIs). This is not a bug because LAN Manager APIs are not supported on
Win32s. However, if NETAPI32.DLL is not in the system and an application
uses LAN Manager APIs, the application will not load because the loader
cannot resolve the entry-points from the nonexistent dynamic-link library
(DLL).
One of the solutions is to use Universal Thunks. Using Universal Thunks,
calls can be made to 16-bit DLLs. Therefore, the 16-bit NETAPI.DLL that
ships with LAN Manager can be accessed by this mechanism.
Sample programs using Universal Thunks are provided in the Win32 SDK and
the Visual C++ SDK. The sample on the Win32 SDK is in the
MSTOOLS\WIN32S\UT\SAMPLES directory. On the Visual C++ 32-bit Edition
CD-ROM, the sample is located in the MSVC32S\WIN32S\UT\SAMPLES directory.
Modification Type: | Major | Last Reviewed: | 3/15/2004 |
---|
Keywords: | KB109204 |
---|
|