Incorrect Defaults for ConnTimeout/GenTimeout

Last reviewed: April 29, 1996
Article ID: Q101806
The information in this article applies to:
  • Microsoft FoxPro Connectivity Kit, versions 2.5 and 2.5a
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SUMMARY

Page 47 of the FoxPro Connectivity Kit "User's Guide" incorrectly lists the default values for ConnTimeout as 0 and GenTimeout as 15; the default value for ConnTimeout is 15 and the default value for GenTimeout is 0.

MORE INFORMATION

Steps to Reproduce Problem

  1. From the File menu, choose New, select Program, and then choose New.

  2. Input the following:

          SET LIBRARY TO fpsql
          ?DBGetOpt(0,'GenTimeOut')
          ?DBGetOpt(0,'ConnTimeOut')
    

    If you are using FoxPro for MS-DOS, the library file is FPSQL.PLB and is normally located in the FOXPRO25 directory. In FoxPro for Windows, the library file is FPSQL.FLL and is usually located in the FOXPROW directory.

  3. Save the file as TEST.PRG.

  4. In the Command window, type the following:

          DO test.prg
    

Note that the program returns 0 for the GenTimeout default and 15 for the ConnTimeout default.


Additional reference words: FoxDos FoxWin 2.50 2.50a docerr
KBCategory: kbtool kbdocerr
KBSubcategory: FxtoolCk


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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.