Notes for Windows Users
This section contains notes specifically for users running Microsoft Windows. You can find notes on the following topics:
Windows Server 2008 or 2012/Windows 7/Windows 8/Windows 10 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_.net2010_10.0, x64_.net2010_10.0, x86_.net2012_11.0, x64_.net2012_11.0, x86_.net2013_12.0, x64_.net2013_12.0, x86_.net2015_14.0, x64_.net2015_14.0, x86_.net2017_15.0, and x64_.net2017_15.0: stat_mta: Static library in multithread with static run-time library using new IOStreams. Flags:
/EHsc /GR /MT.
stat_mda: Static library in multithread with dynamic run-time library using new IOStreams. Flags:
/EHsc /GR /MD. dll_mda: Dynamic library in multithread with dynamic run-time library using new IOStreams. Flags:
/EHsc /GR /MD /DIL_STD (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. |
Microsoft Visual C++ Users
For all your projects, make sure that wsock32.lib and imm32.lib are specified in the link command line.
To debug your program more easily with Visual Studio 2010, 2012, 2013, 2015, or 2017, add the following lines to the section [AutoExpand] of the file
%VisualStudioINSTALLDIR%\Common7\Packages\Debugger\autoexp.dat
; from Views
IlvRect =x = <_orig._x,d> y = <_orig._y,d> width = <_w,u> height = <_h,u>
IlvPoint =x = <_x,d> y = <_y,d>
IlvTransformer =x11 = <_x11,g> x12 = <_x12,g> x21 = <_x21,g> x22 = <_x22,g> x0 = <_x0,g> y0 = <_y0,g>
These lines let you display the values of the objects that these classes define (instead of their address) in the tooltip that appears when the mouse is positioned over a variable.
In Debug mode, to be able to link your application with Visual C++ and the libraries provided in Views, follow these instructions:
in Microsoft Visual Studio.NET, select your projects in the "Solution Explorer" window,
right-click on the selection and choose the "Properties" item,
in the "Property Pages" window, select "Configuration Properties" -> "C/C++" -> "Preprocessor",
in the "Preprocessor Definitions" field, remove "_DEBUG",
recompile and relink the application.
Published date: 05/24/2022
Last modified date: 02/24/2022