BSESUB.INC Contains Incorrect Declarations

ID Number: Q32810

5.10

OS/2

docerr

Summary:

SYMPTOMS

In the file BSESUB.INC that comes with Microsoft Macro Assembler

version 5.1 and 5.1a, the KBDINFO structure fields should all be

declared with the DW directive; however, the fields are declared by

the DB directive instead.

STATUS

Microsoft has confirmed this to be a problem in MASM version 5.10

and 5.10a. This problem was corrected in MASM version 6.0.

More Information

The following is the KBDINFO structure as declared in the BSESUB.INC

that comes with MASM 5.1 and 5.1a

KBDINFO struc

kbxl_cb db ?

kbxl_fsMask db ?

kbxl_chTurnAround db ?

kbxl_fsInterim db ?

kbxl_fsState dw ?

KBDINFO ends

The following is the KBDINFO structure as declared in the BSESUB.INC

that comes with MASM 6.0

KBDINFO STRUCT 2 ; kbst

cb_ WORD 0

fsMask_ WORD 0

chTurnAround_ WORD 0

fsInterim_ WORD 0

fsState_ WORD 0

KBDINFO ENDS