More About the Automation and Connection Managers

Last reviewed: October 29, 1996
Article ID: Q157429
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SUMMARY

This article contains information about the Automation Manager and the Connection Manager, such as the purpose of the Automation Manager, how to properly register it, and how the Connection Manager handles client access privileges.

MORE INFORMATION

The Automation Manager runs in the background and basically does nothing more than act as the process for handling remote automation. Specifically, the Automation Manager serves as both an OLE Proxy and OLE Stub to process and marshal remote procedural calls (RPCs). You are not able to create a remote server object without having it running.

If you plan on making OLE Callbacks, then you need to have it running on the client as well. If the Automation Manager is properly registered, then it is automatically started when an OLE Callback is invoked (that is, an object reference from the client is passed to the remote server).

If the Automation Manager does not automatically launch with an OLE Callback, then it may not be registered properly. The Visual FoxPro installation process does this automatically, but if the registry somehow becomes corrupt, you can do this yourself from Visual FoxPro as follows:

   RUN /n c:\vfp\autmgr32.exe /regserver

Automation Manager registry settings are stored in the following location:

   HKEY_LOCAL_MACHINE\Software\Microsoft\Automation Manager

The Remote Automation Connection Manager (RacMan) is a component that ships with Visual FoxPro and handles the following:

  1. Remote connectivity on the client side--the client can change a server that is already registered locally to being registered remotely.

  2. Client access on the server side--the server can determine access for clients either at machine level or at automation server level. With NT, Access Control List (ACL) security policies can be enforced.

Registry settings for remote servers are stored with the specific server itself in the CLSID key in HKEY_CLASSES_ROOT.

REFERENCES

For more information about OLE Automation in Visual FoxPro, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q157049
   TITLE     : Debugging Remote Automation Servers

   ARTICLE-ID: Q156014
   TITLE     : How to Set Up OLE Automation in Visual FoxPro 5.0

   ARTICLE-ID: Q155939
   TITLE     : How to Use Clireg32.exe for Remote Automation

   ARTICLE-ID: Q155934
   TITLE     : General Information About the OLE Automation Manager &
               Racman


KBCategory: kbusage kbprg
KBSubcategory: FxinteropOle
Additional reference words: 5.00 kbdse VFoxWin



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.