943,608 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 3101
  • C RSS
Aug 9th, 2004
0

Linking errors of socket functions

Expand Post »
I am currently getting 33 linking errors like the following:

c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSAASYNCSELECT' : unresolved external
c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'GETHOSTBYNAME' : unresolved external
c:\msvc\mfc\lib\lafxcwd.lib(sockcore.cpp) : error L2029: 'WSASTARTUP' : unresolved external

in each one is a different socket function. Each function listed in the errors appears nowhere in my program. I know that there has to be one thing that will make them all go away. can anyone help?

thanks,
Tanner
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tanner0035 is offline Offline
1 posts
since Aug 2004
Aug 12th, 2004
0

Re: Linking errors of socket functions

You're -not- using winsock? Odd. Well, one of the modules you're including is. Option 1, nuke that module. Option 2 (a hack), link against WS2_32.Lib.
Reputation Points: 13
Solved Threads: 2
Newbie Poster
glSuccinct is offline Offline
13 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: cannot convert from 'double' to 'float [6][3]'
Next Thread in C Forum Timeline: lil challange.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC