Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Errors in LCCWIN32 Link...

Posted on 2000-04-19
2
243 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 150 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

829 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