Board index » cppbuilder » Resolving Unresolved externals

Resolving Unresolved externals


2006-11-02 03:01:06 AM
cppbuilder24
//Compiles but fails link with
//Unresolved external 'WSASocketA' referenced from
...\code\getifaces.obj
Can anyone guide me in how to resolve this error?
the includes are...
#include <iostream.h>
#include <winsock2.h>
#include <ws2tcpip.h>
It is a sample program form
tangentsoft.net/wskfaq/examples/getifaces.html
I have not the knowledge to understand how the obj is built so I am
stuck wondering.
When I look through getifaces.obj sure enough WSASocketA is in there
Thanks
 
 

Re:Resolving Unresolved externals

< XXXX@XXXXX.COM >wrote in message
Quote


//Compiles but fails link with
//Unresolved external 'WSASocketA' referenced from
...\code\getifaces.obj
You likely do not have ws2_32.lib added to the project.
Gambit