?
Solved

Errors in LCCWIN32 Link...

Posted on 2000-04-19
2
Medium Priority
?
247 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
[X]
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
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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. …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
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

765 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