Microsoft KB Archive/103277

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:27, 20 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Documentation Error in LCK for _StrCpy() Function

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:


Last Reviewed: October 10, 1997
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.