(20200429)
Microsoft Visual Studio: Inclusion:
They can not include "<unistd.h>"
Anyway, very thanks to Visual studio Comunicator:
(20200429)
Specification: wsprintf: from GNU to Visualstudio in Library
wsprintf( (LPSTR) &strx[0], (LPCSTR)"%s", vformat(fmt, ap));
We cannot cast LPSWSTR to LPSTR:
W means Pointer: sorry, so weard:
Someone changed, we could follow the history.
Even we cannot compile the above case in GNU.
(20200430)
C4996 'strerror': This function or variable may be unsafe.Consider using strerror_s instead.To disable deprecation, use _CRT_SECURE_NO_WARNINGS.See online help for details.CG - 001 C : \Users\abjmp_000\Documents\source\analyzer\analyzer_20200502\Print.cpp 445
---
(20200501: )
LINK2019:
Option windows api in visual studio:
Windows Startup and Linking the obj compiled seperated to main-lootin even CLI.
Mingw solve that Linking by use of option.
---
((20200502: )
Additional Option:
/D "WIN32"
/D "_WINDOWS"
In the source code:
#pragma comment(lib, "Ws2_32.lib")
: https://docs.microsoft.com/en-us/windows/win32/winsock/creating-a-basic-winsock-application
---