🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Looking for *.dll

#16206
From: user
Date: Mon, 26 May 2003 22:12
14 lines
1741 bytes
Salvador Huertas wrote:
> My application is using a dll that isn't in the folder where starts this
> application. The question is how can I say to the Windows that must look
> this folder when try connect the libraries (at the SO level).
> 

The OS looks for DLLs in the locations documented for the LoadLibrary 
function: 1. The directory from which the application loaded, 2. the 
current directory, 3. the system directory (or directories), 4. the 
Windows directory and 5. the directories in the PATH environment variable.

If you can't or don't care to put your DLL in one of the fixed locations 
(1-4), you'll need to see that its location is in your users' PATH 
environment variable.
Technical Details
Message-ID: <3ED2915E.9030204@domain.invalid>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ed23907@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1c8649df9c17c0bc
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-26 15:24:35 PST
Message-ID: <3ED2915E.9030204@domain.invalid>
Date: Mon, 26 May 2003 18:12:46 -0400
From:  user@domain.invalid
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Looking for *.dll
References: <3ed23907@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 141.151.183.248
X-Trace: newsgroups.borland.com 1053987181 141.151.183.248 (26 May 2003 15:13:01 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail