🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by DeKayA Wed, 01 Nov 2006 19:01
Resolving Unresolved externals
#1726
Author: DeKayA
Date: Wed, 01 Nov 2006 19:01
23 lines
1262 bytes

//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 
http://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
#1730
Author: Remy Lebeau (TeamB)
Date: Wed, 01 Nov 2006 22:02
13 lines
1172 bytes
<DeKayA@bellsouth.net> wrote in message
news:4548ee21.4158068@forums.borland.com...
>
>
> //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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads