🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6216

Re: Linker Error

#6216
From: Bob Gonder
Date: Fri, 03 Jun 2005 02:25
25 lines
2300 bytes
Patrick Wong wrote:

>Thanks.  To allow me to learn more, would you please describe the
>traditional way to add library to the project so that it will be included in
>the linking step?

That is a question for the cppbuilder.ide  group.
(I don't have or use the IDE personally)
Search through the back messages on that group as this question has
been answered many times.
My basic understanding is you add the .lib file the same way and place
as the .cpp file for your application. At least that's the way it was
10 years ago.

>  Since I started using BCB, my thinking was specifying the
>path in which the library is located will do.

It is good enough for those libraries that are included by all common
programs. Not all libraries are needed by all programs, and many
windows functions fall into that catagory. Also, any third party
libraries are not included by default.
Any library that is "not normal" must be explicitly included.
Sockets is one, wininet (internet functions) is another. There are
many more. I usually let the linker complain, then add the missing
library.
Technical Details
Message-ID: <13fv915mmkkcdh4vtjmohfp11rfbknio90@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <429c49e7$1@newsgroups.borland.com> <l2vo919rsjt5mi7ho11pvkbea4f079s56f@4ax.com> <429d11b2$1@newsgroups.borland.com> <rtnr91130nbpgl62hkonq66i4bl778puau@4ax.com> <429edacc$1@newsgroups.borland.com> <43du91l58na6pjv9m9g8tef1urdbgljppg@4ax.com> <429fb118$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e1ea2972d73d7675
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linker Error
Date: Thu, 02 Jun 2005 19:25:22 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <13fv915mmkkcdh4vtjmohfp11rfbknio90@4ax.com>
References: <429c49e7$1@newsgroups.borland.com> <l2vo919rsjt5mi7ho11pvkbea4f079s56f@4ax.com> <429d11b2$1@newsgroups.borland.com> <rtnr91130nbpgl62hkonq66i4bl778puau@4ax.com> <429edacc$1@newsgroups.borland.com> <43du91l58na6pjv9m9g8tef1urdbgljppg@4ax.com> <429fb118$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.77.200.242
X-Trace: newsgroups.borland.com 1117765518 67.77.200.242 (2 Jun 2005 19:25:18 -0700)
Lines: 27
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail