🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.owl
Article #42

Re: How do I link a library to my program??

#42
From: Bob White
Date: Wed, 06 Mar 1996 17:50
16 lines
1287 bytes
Add the library name such as "xyz.lib" to the project list.  Also, make sure 
that the link search path (directory) points to where the library is located.
Hope that helps.

In article <313d3c58.4431866@news.csus.edu>, wleong@sfsu.edu says...
>
>Hi,
>     I just started to learn progarmming in windows and I ran into a
>problem immediately.
>    I have been given a library file (winsock.lib) which contains
>routines that I need to use in my program. But even if I include it
>in my project file, linker still couldn't find the routines in the
>lib. Somehow I am under the impression that I need to call certain
>functions in my progam in order to load the library into the module.
>
>  Please help. Your response is greatly appreciated!
Technical Details
Message-ID: <4hkj89$iql@nnrp1.news.primenet.com>
Path: arc1-ca.pugleaf.net!news.primenet.com!not-for-mail
References: <313d3c58.4431866@news.csus.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.primenet.com!not-for-mail
From: kj7bg@primenet.com (Bob White)
Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c
Subject: Re: How do I link a library to my program??
Date: 6 Mar 1996 10:50:01 -0700
Organization: Primenet Services for the Internet
Sender: root@primenet.com
Message-ID: <4hkj89$iql@nnrp1.news.primenet.com>
References: <313d3c58.4431866@news.csus.edu>
X-Posted-By: ip193.boi.primenet.com
X-Newsreader: WinVN 0.99.7
MIME-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII