FIX: MIDL 2.0 Does Not Handle VAX Floating Point Numbers

ID: Q129064

The information in this article applies to:

SYMPTOMS

RPC applications (client and server) built using MIDL 2.0 (shipped with Windows NT version 3.5) may get spurious characters or report memory violations when dealing with VAX floating point numbers.

RESOLUTION

There are two possible resolutions to this problem:

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Windows NT version 3.51.

MORE INFORMATION

Note that Microsoft RPC is binary compatible with DCE RPC. There are four types of representations for floating point numbers: IEEE, VAX, IBM, and CRAY. An application built using MIDL 1.0 can recognize IEEE and VAX representations but not IBM and CRAY. Applications built using MIDL 2.0 can recognize only IEEE representaion as mentioned above. Both, MIDL 1.0 and 2.0, use IEEE representations to send data.

Additional query words:

Keywords          : kbnetwork kbAPI kbNTOS350bug kbNTOS351fix kbRPC kbSDKPlatform kbGrpNet 
Issue type        : kbbug
Solution Type     : kbfix

Last Reviewed: July 31, 1998