Microsoft KB Archive/94323

{|
 * width="100%"|

CTYPE Macros Function Incorrectly

 * }

Q94323

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), versions 3.1, 3.5, 3.51, 4.0

-

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.

Additional query words: 3.10 3.50 4.00 95

Keywords :

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch kbWin32SDK400 kbWin32SDK310 kbWin32SDK350 kbWin32SDK351