Documentation Error in LCK for _StrCpy() Function

Last reviewed: October 10, 1997
Article ID: Q103277
2.50 | 2.50 MS-DOS | WINDOWS kbtool kbprg kbdocerr

The information in this article applies to:

  • Microsoft FoxPro Library Construction Kit version 2.5

On page 243 of the Library Construction Kit "Developer's Guide," the _StrCpy() function contains the following statement:

   typedef unsigned char TEXT;

This statement will result in the following error message when you are using Visual C++ to compile:

   error C2082: redefinition of formal parameter 'TEXT'

This error is caused by the definition of TEXT in the PRO_EXT.H header file supplied with the Library Construction Kit. TEXT is a reserved word and should be avoided, as with any other reserved word.


Additional reference words: 2.50 docerr lck
KBCategory: kbtool kbprg kbdocerr
KBSubcategory:


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 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.