Type Library Marshaling

Type library marshaling takes advantage of the fact that every installation already has an automation marshaler installed. As long as you are willing to limit yourself to data types supported by the automation marshaler, you can use type library marshaling. That is, instead of installing proxy-stub modules on the client and server, you can use the proxy-stub pair used by automation. In place of installing the proxy-stub pairs, you now must install only the type library on the client and server machines. I almost always use type library marshaling because of its simplicity.

In order to use type library marshaling, you must indicate in the registry that you are using the automation marshaler and where to find your type library. ...

Get COM+ Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.