Solved

Errors in LCCWIN32 Link...

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
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 clear a vector as well as how to detect empty vectors in C++.

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now