WSAAsyncGetHostByName - undeclared identifier
-
hai, I am working in EVC for socket and am getting the follwoing errors . I have included Ws2_32.lib and Winsock2.h . error C2065: 'WSAAsyncGetHostByName' : undeclared identifier error C2065: 'WSAAsyncSelect' : undeclared identifier error C2065: 'WSACancelAsyncRequest' : undeclared identifier. Thanks in advance.. Harshadha
-
hai, I am working in EVC for socket and am getting the follwoing errors . I have included Ws2_32.lib and Winsock2.h . error C2065: 'WSAAsyncGetHostByName' : undeclared identifier error C2065: 'WSAAsyncSelect' : undeclared identifier error C2065: 'WSACancelAsyncRequest' : undeclared identifier. Thanks in advance.. Harshadha
may be because the INCL_WINSOCK_API_PROTOTYPES got define before including the winsock2.h . I dont know how it got define. Try including "winsock2.h" above all other includes.( if ur using stdafx.h, put
#include winsock2.h
above the first include in it)nave
-
may be because the INCL_WINSOCK_API_PROTOTYPES got define before including the winsock2.h . I dont know how it got define. Try including "winsock2.h" above all other includes.( if ur using stdafx.h, put
#include winsock2.h
above the first include in it)nave
-
try this. I am not sure whether this a right way to do. How ever if the error was because of the pblm I above mentioned, it will compile fine when wrote as below
#undef INCL_WINSOCK_API_PROTOTYPES #include
nave
-
hai, I am working in EVC for socket and am getting the follwoing errors . I have included Ws2_32.lib and Winsock2.h . error C2065: 'WSAAsyncGetHostByName' : undeclared identifier error C2065: 'WSAAsyncSelect' : undeclared identifier error C2065: 'WSACancelAsyncRequest' : undeclared identifier. Thanks in advance.. Harshadha
Please forgive my ignorance - What is EVC?
"If you can dodge a wrench, you can dodge a ball."
-
Please forgive my ignorance - What is EVC?
"If you can dodge a wrench, you can dodge a ball."
-
Embedded Visual C++ - Visual Studio-like tool for C++ development for PocketPc and the like Judy
Thanks Judy!
"If you can dodge a wrench, you can dodge a ball."