Hi,
I am a little puzzled about something. I am using msvs 2005 and I tried compiling a program that is a server client program so it uses winsock2.h. Since the program is a win32 console application, I figured I don't need the stdafx.cpp and stdafx.h file that msvs puts in all it's project. So I removed them from the project and took out the include from the main cpp file. Now I am getting this linker error:
soctest.obj : error LNK2001: unresolved external symbol __imp__accept@12
soctest.obj : error LNK2001: unresolved external symbol __imp__listen@8
and a bunch of others
I disabled "use precompiled headers in options" but I really don't know what is wrong with it. The funny thing is that if I put the stdafx.cpp in the project without using #include "stdafx.h", then I don't get this error. So what gives. Thanks a lot,
Amish
