Microsoft KB Archive/140503

= DOC: Port I/O Functions Not Included in DLL Version of CRT =

Article ID: 140503

Article Last Modified on 8/3/2001

-

APPLIES TO


 * Microsoft Visual C++ 4.0 Standard Edition

-



This article was previously published under Q140503



SUMMARY
The Run-Time Library Reference descriptions for the _inp, _inpw, _inpd, _outp, _outpw, and _outpd functions incorrectly indicate that they are included in Msvcrt.lib (or Msvcrtx0.dll). These functions were never intended for export from the DLL version of the C run-time library (CRT), and do not exist in that version of the CRT.

A build of a project that uses the DLL version of the CRT may fail at link time with LNK2001 errors and one or more of the following functions reported as unresolved externals:   _inp, _inpw, _inpd, _outp, _outpw, _outpd To use these functions, you need to link with one of the static versions of the CRT -- Libc.lib or LIBCMT.lib.

Keywords: kbcrt kbdocfix kbdocerr KB140503

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.