The information in this article applies to:
SYMPTOMSThe snapshots returned by Toolhelp32 identify 16-bit processes as the KERNEL32 module. In other words, the szExePath field of the MODULEENTRY32 structure contains KERNEL32.DLL for 16-bit Windows-based applications. The correct module is given for Win32-based applications. STATUSThis behavior is by design. MORE INFORMATION
16-bit modules are very different from 32-bit modules and code that
manipulates the internals of one kind usually must be rewritten for the
other kind. The most common exception is code that prints out the name of
the .exe file. This information can be obtained, for both 16-bit and 32-bit
applications, from the szExeFile member of the PROCESSENTRY32 structure.
REFERENCESThe PVIEW95 SDK sample uses the module fields in the MODULEENTRY32 and PROCESSENTRY32 structures. Additional query words: 4.00 Windows 95 win95fest
Keywords : |
Last Reviewed: March 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |