Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/103277

From BetaArchive Wiki

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.