I'm having a very weird problem with type redefiniton.
I have this DLL which uses the "Winsock2" library.
I have some other DLLs that don't.
But when I link my main DLL to these DLLs (and include the corresponding headers), I'm getting type-redefinition errors.
Each DLL compiles well by itself and they compile well together as long as the DLL that is linked to WinSock is not there...
Each and every header file in the project has a protection:
Why is it happening? :)