Pool Manager Sample (Custom OLE Automation Server) in VFP 5.0

Last reviewed: January 20, 1997
Article ID: Q156010
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 5.0

SUMMARY

This article describes the Pool Manager sample in Visual FoxPro 5.0. The Pool Manager is an example of a Custom OLE Automation Server created in Visual FoxPro.

MORE INFORMATION

The Pool Manager sample (located in Samples\Servers) illustrates Custom OLE Automation Servers, created in Visual FoxPro, used to balance work loads and handle job requests from clients.

NOTE: The sample is merely an example and not necessarily optimized for use in an industrial setting.

You (the client) can send jobs to the Pool Manager (Visual FoxPro Custom OLE Server), which might be remote, and have the Pool Manger handle the job processing. This allows you to continue working (asynchronously) because the Pool Manager is handling all the work. The client does not need a timer continuously checking to see if a job is done, because the Pool Manager makes an OLE call back. The jobs requested are dummy simulation jobs.

You can expand the Pool Manager class to provide better control on how many servers to deploy, timing of servers, and so forth. All of these are variables that can be controlled by the user to impact performance.


KBCategory: kbole 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: January 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.