FIX: Functions Exported Incorrectly in MASM 6.1 WINDLL Sample (104041)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.1
- Microsoft Macro Assembler (MASM) 6.1a
This article was previously published under Q104041 SYMPTOMS
The SYSDATA.EXE sample program supplied with the Microsoft Macro
Assembler (MASM) versions 6.1 and 6.1a displays incorrect data when
run. (This assumes you have already successfully built SYSINFO.DLL
using the provided makefile, SYSINFO.MAK.)
CAUSE
SYSDATA.EXE was built with a different import library than the one
created from the SYSINFO files shipped with MASM. Therefore,
SYSDATA.EXE does not correctly call the functions within SYSINFO.DLL,
which causes the program to display incorrect data.
RESOLUTION
There are two solutions (described below) to the problem. If you have
the Microsoft Windows Software Development Kit (SDK), you can choose
either solution. The SDK is relevant because RC.EXE is required to
build SYSDATA.EXE. RC.EXE is shipped with the SDK and is not included
with MASM.
STATUS
Microsoft has confirmed this to be a problem in MASM version 6.1, and
6.1a. This problem was corrected in MASM version 6.11.
Modification Type: | Minor | Last Reviewed: | 10/13/2003 |
---|
Keywords: | kbfix KB104041 |
---|
|