What Does Remote Automation Provide?
| Overview | How Do I | Sample
Remote Automation allows programs to invoke IDispatch implementations on one machine from another. It also supports other interfaces required by Automation, specifically IEnumVARIANT for collection support. It does not provide the ability to distribute any other COM interface (except IUnknown, of course) and, like regular Automation, it contains marshaling support only for those data types supported by Automation.
This set of facilities allows a program to access the methods and properties, including those that return collections or further automation objects, of an object running on an accessible network node. If the client machine is also running the appropriate software, it is possible for the server to call back to the client, again using Automation facilities (this works for 32-bit clients only, and is conceptually similar to events, although it does not use the same mechanism).
In order for an application to be operable as a Remote Automation server, it must be implemented as an executable (that is, as a "local server" (ironically!) rather than as an "inproc server").