Note for Windows Server 2003 / XP / Vista Users
The libraries are provided in several versions on the Windows versions that are provided in subdirectories of lib\<system>. This is due to different versions of the run-time system libraries and to the DLL. Each version needs specific compiler flags as described below:
x86_.net2003_7.1:
stat_sta: Static library in single thread with static run-time library using new IOStreams. Flags:
/GX /GR /ML /DIL_STD (Single Threaded).
stat_mta: Static library in multithread with static run-time library using new IOStreams. Flags:
/GX /GR /MT /DIL_STD (Multithreaded).
stat_mda: Static library in multithread with dynamic run-time library using new IOStreams. Flags:
/GX /GR /MD /DIL_STD (Multithreaded DLL).
dll_mda: Dynamic library in multithread with dynamic run-time library using new IOStreams. Flags:
/GX /GR /MD /DIL_STD /DILVDLL (Multithreaded DLL).
x86_.net2005_8.0, x86_.net2008_9.0 and x64_.net2008_9.0: stat_mta: Static library in multithread with static run-time library using new IOStreams. Flags:
/EHsc /GR /MT /DIL_STD (Multithreaded).
stat_mda: Static library in multithread with dynamic run-time library using new IOStreams. Flags:
/EHsc /GR /MD /DIL_STD (Multithreaded DLL).
dll_mda: Dynamic library in multithread with dynamic run-time library using new IOStreams. Flags:
/EHsc /GR /MD /DIL_STD /DILVDLL (Multithreaded DLL).
Notes: 1. You must also use the flag /DILJSTDH if you want to use Script in these modes. 2. You must also link with the system libraries wsock32.lib and imm32.lib. |
Published date: 05/24/2022
Last modified date: 02/24/2022