INFO: MIDL 1.0 and MIDL 2.0 Full Pointers Do Not Interoperate

ID: Q115830

The information in this article applies to:

SUMMARY

Microsoft Remote Procedure Call (RPC), version 1.0, has minimal support for full pointers, so the version of the MIDL compiler with Microsoft RPC version 1.0 (MIDL 1.0) treats full pointers (specified with the ptr attribute) as unique pointers (specified with the unique attribute).

The MIDL compiler with Microsoft RPC, version 2.0 (MIDL 2.0), supports full pointers. Because of the way Microsoft RPC, version 1.0, handles the on- wire representation of pointers, applications compiled using MIDL 2.0 full pointers cannot operate interactively with applications compiled using MIDL 1.0 full pointers.

The workaround is to recompile the MIDL 2.0 application to use unique pointers.

Additional query words:

Keywords          : kbnetwork kbAPI kbNTOS350 kbRPC kbSDKPlatform kbGrpNet 
Issue type        : kbinfo

Last Reviewed: July 31, 1998