O'Reilly logo

Applying COM+ by Gregory Brill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Method Invocation and Marshaling

So far, we've talked about the relationship between interfaces, vtables, and RPCs. Interfaces can be looked at as RPC channels of communication, and you saw how the methods of an interface can be defined in IDL and then compiled by MIDL.EXE into proxy/stub code. Although there are a number of additional details, the COM-based interface implementation can be viewed as a more object-oriented version of the traditional RPC implementation—in either case, you define your interfaces and methods in Interface Definition Language (IDL). MIDL.EXE generates the appropriate proxy/stub code necessary to allow method calls made to your object to traverse the network via RPC.

COM RPC borrows from traditional RPC in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required