The information in this article applies to:
SYMPTOMSIf a 32-bit process attempts to load Wow32.dll, the operating system will also need to map Ntvdm.exe into the process address space. The Windows NT Virtual DOS computer is contained in Ntvdm.exe. This system component supports the running of 16-bit processes on Windows NT. If Ntvdm.exe cannot be mapped to its default base address of 0x0F000000, the operating system will attempt to relocate it. In Windows NT 4.0, this dynamic relocation fails on multiprocessor computers. CAUSEUnder Windows NT 4.0, the system can dynamically relocate a file on a multiprocessor computer only if the file has been flagged as a DLL by linking it with the /DLL option. Ntvdm.exe is flagged as an EXE, rather than a DLL. As a result, an attempt to relocate Ntvdm.exe on a multiprocessor computer will fail. RESOLUTION
Wow32.dll is a system library that supports the 32-bit side of the Win32 thunking layer. All of the functions exported from Wow32.dll are there to support generic thunks from 16-bit code to 32-bit code. These functions provide the necessary support for tasks such as making callbacks to 16-bit functions and translating 16-bit handles to 32-bit handles (and vice versa).
STATUSThis behavior is by design. MORE INFORMATIONIf a call to LoadLibrary() fails on a multiprocessor system because the system could not relocate Ntvdm.exe, GetLastError() returns error code 998:
Additional query words: kbDSupport
Keywords : kbDLL kbKernBase kbNTOS kbThunks kbDSupport kbGrpKernBase |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |