Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Errors in LCCWIN32 Link...

Posted on 2000-04-19
2
Medium Priority
?
249 Views
Last Modified: 2012-05-04
Hi...
I make a little program in C language for send messages by ICQ ... and I compile it with LCCWIN32 compiler...
but in linker stage, cause errors in the winsock functions send(), recv(), etc...
what´s wrong... In compilation dont have problem... only in link...
the send(), recv() declarations, is in
the #include <winsock.h>
but the linker dont found the modules...

Please... help me!
0
Comment
Question by:grava_cd
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 600 total points
ID: 2734278
You'll additionally have to add 'wsock32.lib' to your project - just including the header file isn't enough, the linker also needs this import library in order to find these functions...
0
 

Author Comment

by:grava_cd
ID: 2778222
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question