08-27-2018, 11:39 AM
You directed me to:
You need to either:
1. make sure winsock2.h is always #include'd before winsock.h. Usually that means adding an #include <winsock2.h> statement before #include <vcl.h> and/or #include <windows.h> statements.
In every file where #include <vcl.h> and/or #include <windows.h> statements. occurs?
There must have been a change in compiler directives or somethign else. Why woulod it be working for 15 years?
2. add _WINSOCKAPI_ to your project's list of Conditionals to disable winsock.h globally.
Did not fix problem
3. add WIN32_LEAN_AND_MEAN to your project's list of Conditionals to prevent windows.h from using a #include <winsock.h> statement (amongst others).
Did not fix problem
You need to either:
1. make sure winsock2.h is always #include'd before winsock.h. Usually that means adding an #include <winsock2.h> statement before #include <vcl.h> and/or #include <windows.h> statements.
In every file where #include <vcl.h> and/or #include <windows.h> statements. occurs?
There must have been a change in compiler directives or somethign else. Why woulod it be working for 15 years?
2. add _WINSOCKAPI_ to your project's list of Conditionals to disable winsock.h globally.
Did not fix problem
3. add WIN32_LEAN_AND_MEAN to your project's list of Conditionals to prevent windows.h from using a #include <winsock.h> statement (amongst others).
Did not fix problem