🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linker Errors

#13147
From: Charles Page
Date: Wed, 29 Oct 2003 01:17
20 lines
1623 bytes
i have many other calls to the windows API, how come these need a .lib 
linked?

Remy Lebeau (TeamB) wrote:
> "Charles Page" <lissom@snet.net> wrote in message
> news:3f9efb66$1@newsgroups.borland.com...
> 
> 
>>I thought that these procedures where just referenced to some dlls
> 
> 
> Exactly, which means you have to let the linker know which specific DLL(s)
> they belong to, so that the linker can resolve the references correctly.
> You need to add userenv.lib to your project.  It is located in the
> $(BCB)\Lib\PSDK folder.
> 
> 
> Gambit
> 
> 
Technical Details
Message-ID: <3f9f152b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f9efb66$1@newsgroups.borland.com> <3f9effe1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2066b4fbbd3a010f
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-28 17:39:11 PST
Date: Tue, 28 Oct 2003 20:17:35 -0500
From: Charles Page <lissom@snet.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Linker Errors
References: <3f9efb66$1@newsgroups.borland.com> <3f9effe1$1@newsgroups.borland.com>
In-Reply-To: <3f9effe1$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 64.252.106.212
Message-ID: <3f9f152b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067390251 64.252.106.212 (28 Oct 2003 17:17:31 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail