September 3rd, 2003, 03:19 PM
VC .NET, multi file program
Ok, I kind of fixed it, I have a lot of headers/source files, the only errors I get now are errors for every winsock function. I do include winsock2.h in a lot of the headers, but I have directives that don't allow me to keep including the same file (#ifndef..#endif..etc). Where can the problem be?
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WinSock2.h(2068): error C2375: 'socket' : redefinition; different linkage
C:\Program Files\Microsoft Visual Studio .NET\Vc7\PlatformSDK\Include\WinSock2.h(2466): error C2375: 'WSAAsyncGetHostByName' : redefinition; different linkage
Last edited by movEAX_444; September 5th, 2003 at 04:47 PM.