Microsoft KB Archive/115830

{|
 * width="100%"|

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

 * }

Q115830

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK) for Windows NT

-

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 kbOSWinNT350 kbRPC kbSDKPlatform kbGrpDSNet

Issue type : kbinfo

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch