CTYPE Macros Function Incorrectly (94323)



The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) 3.1
  • Microsoft Win32 Software Development Kit (SDK) 3.5
  • Microsoft Win32 Software Development Kit (SDK) 3.51
  • Microsoft Win32 Software Development Kit (SDK) 4.0

This article was previously published under Q94323

SUMMARY

When an application that is linked to CRTDLL.LIB is compiled without defining _MT and _DLL, the CTYPE.H family of macros will not operate correctly.

To define _MT and _DLL on the CL command line, just add the following to the command line:

-D_MT -D_DLL

By adding these defines, the CTYPE macros will be properly initialized.

Modification Type:MajorLast Reviewed:1/12/2000
Keywords:KB94323