Microsoft KB Archive/106688

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:11, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)

Accessing Parameters Example Incorrect in LCK Manual

ID: Q106688

2.50 | 2.50 MS-DOS | WINDOWS kbinterop kbtool kbprg kbdocerr

The information in this article applies to:

  • Microsoft FoxPro Library Construction Kit, version 2.5
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b
  • Microsoft FoxPro for MS-DOS, versions 2.5, 2.5a, and 2.5b

In the FoxPro Library Construction Kit "Developer's Guide," the example in the "How to Access Parameters in Your API Functions" section on page 12 is incorrect.

The example incorrectly reads:

   if (parm=>p[0].val.ev_type='C'
      x = parm->p[0].val.ev_length

It should be modified to read:

   if (parm->p[0].val.ev_type=='C')
      {
      x = parm=>p[0].val.ev_length;
      }

Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50b LCK docerr KBCategory: kbinterop kbtool kbprg kbdocerr KBSubcategory: FxtoolLck

Keywords          : FxtoolLck 
Version           : 2.50   | 2.50
Platform          : MS-DOS WINDOWS

Last Reviewed: April 30, 1996
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.