#include <winsock2.h> error!!!
ATL / WTL / STL
1
Posts
1
Posters
0
Views
1
Watching
-
Hello ppl, i was going through Nishant's winsock tutorials and was trying them with WTL. In a simple console application, including winsock2.h works like a charm. but when i try it with WTL appwizard generated code, i get a huge list of 114 errors!!! (mostly type/macro redefinition errors). But if i change it to winsock.h, it works. i have included ws2_32.lib in my project settings also. can anyone give me a clue on this? thanks in advance. I am using VC++ 6.0 with February 2003 platform sdk and wtl 7.0 on WinXP Pro. -Tareq