Archived Forum Post

Index of archived forum posts

Question:

#include

Mar 09 '15 at 05:28

I cannot include <winsock2.h> in VC++ project when complied with Chilkat library! Does Chilkat VC++ library use winsock.h? How can I compile Chilkat library with winsock2.h?


Answer

None of the Chilkat .h headers includes winsock.h or winsock2.h.


Answer

Sorry, my bad. The problem was solved by putting winsock2.h to the top of stdafx.h.