Microsoft KB Archive/103592

From BetaArchive Wiki

C Strings in API Routines Are Null Terminated

ID: Q103592

The information in this article applies to:

  • Microsoft FoxPro Library Construction Kit for MS-DOS, version 2.5
  • Microsoft FoxPro Library Construction Kit for Windows, version 2.5

FoxPro strings passed to application programming interface (API) routines should be null terminated either in the API routine or by concatenating CHR(0) to the string argument in FoxPro. To see how this is done within a C API routine, refer to the examples in the Library Construction Kit.

Additional reference words: FoxWin FoxDos LCK 2.50 string arguments null terminated lck KBCategory: kbprg KBSubcategory: FxtoolLck

Last Reviewed: August 28, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.