INFO: Must Build Win32s Apps Using C Run-Time (CRT) Libraries

ID: Q149412


The information in this article applies to:


SUMMARY

When you build an application for Win32s with Visual C++, you must build it to use the DLL version of the C run-time (CRT) library. Building with the static versions of the libraries is not supported.

For more information about the different versions of the CRT libraries, please see the following articles in the Microsoft Knowledge Base:

Q28173 C Run-time Library History and Naming Conventions
Q140584 How to Link with the Correct C Run-Time (CRT) Library


MORE INFORMATION

The static versions of the CRT libraries were not designed for Win32s. There is a specific version of the CRT in a DLL that is designed for Win32s, and takes into account the differences between Win32s and the native Win32 platforms.

The CRT in a DLL is named Msvcrt20.dll for versions 2.x and Msvcrt40.dll for version 4.0. It is located in the Win32s\Redist subdirectory on the Visual C++ CD-ROM.

Additional query words: R6016 thread data


Keywords          : kbCRT kbVC 
Version           : WINNT:2.0,2.1,2.2,4.0,5.0;
Platform          : NT WINDOWS 
Issue type        : kbinfo 

Last Reviewed: July 30, 1999