...
: error LNK2019: unresolved external symbol__imp__htons,...
: error LNK2019: unresolved external symbol __imp__WSAGetLastErro
...
These are functions from Ws2_32.lib or kernel32.lib , and I am sure
visual studio project setting about lib reference is right.
/ERRORREPORT:PROMPT glib-2.0.lib gmodule-2.0.lib gthread-2.0.lib
intl.lib libxml2.lib Ws2_32.lib kernel32.lib user32.lib gdi32.lib .
My project is a c project, calling convention is __cdecl (/Gd),
compiled to /TC.
My visual studio is vs 2005 sp1.
Any suggestions will be appreciated. Thank you in advance.