Using Microsoft Run-Time System DLLs

Applications using the Microsoft run-time system DLLs should use the following structure:

A custom system DLL should be used. The system DLL must be linked with the DLL run-time system.

The system DLL as well as all required run-time system DLLs should be located through the application's config file. The run-time system DLLs must be listed in DLL commands first, before the system DLL.

If the Microsoft Visual C++ 6.0 run-time systems is used (file Msvcrt.dll), the application must set the OS version information to the values expected by Msvcrt.dll. This must be done in an Init function. Please see function RTSetVersionExA for details.

The initialization of some Microsoft run-time system DLLs requires a lot of stack space. At least 64k Stack space is recommended.

Demo program Msvccrt shows how the Microsoft run-time system DLLs can be used.