FIX: Functions Exported Incorrectly in MASM 6.1 WINDLL Sample
Article ID: 104041
Article Last Modified on 10/13/2003
APPLIES TO
- Microsoft Macro Assembler 6.1 Standard Edition
- Microsoft Macro Assembler 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.
Additional query words: 6.10 6.10a
Keywords: kbfix KB104041