Re: WSCEnumProtocols link error
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Wed, 25 Jan 2006 17:58:04 -0500
yedong2005@xxxxxxxxx wrote:
> I am using visual studio 8 to build a c program to generate x64 64-bit
> binary.
>
> The compilation goes through without error.
>
> When it comes to link, it reports the following two errors:
> myWin32socket.obj: error LNK2019: unresolved external symbol
> WSCEnumProtocols referenced in function open_socket
> myWin32socket.obj : error LNK2019: unresolved external symbol
> __imp_WSASocketA referenced in function open_socket
> myProgram.exe: fatal error LNK1120: 2 unresolved externals
>
> I checked out the MSDN library to lookup this function
> WSCENumProtocols and got back to my source code, it did include the
> header file Ws2spi.h.
One line below it says
Link to Ws2_32.lib
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- WSCEnumProtocols link error
- From: yedong2005
- WSCEnumProtocols link error
- Prev by Date: WSCEnumProtocols link error
- Next by Date: Re: the process of debugging
- Previous by thread: WSCEnumProtocols link error
- Next by thread: Moving files vs. copying
- Index(es):
Relevant Pages
|