Article View: borland.public.cppbuilder.nativeapi
Article #11859Re: System Path
From: Michel Leunen
Date: Tue, 13 Jan 2004 13:02
Date: Tue, 13 Jan 2004 13:02
20 lines
1692 bytes
1692 bytes
Oliver Young wrote: > I've added to the system PATH variable my folder which contains one dll, > but when I call that dll Windows can't find it. What i should do? If you place your dll in your application folder, you don't have to change the PATH environment variable. How do you call your Dll from your application? Using LoadLibrary()? LoadLibarary() returns NULL if it can't find the Dll. Do you check the value returned by LoadLibrary()? What does report GetLastError()? You don't tell us enough. Michel -- ---------------------------------------- Michel Leunen mailto:michel@leunen.com C++Builder, C++BuilderX, BCC5.5.1 Web site: http://www.leunen.com/ ----------------------------------------
Technical Details
Message-ID:
<4003ec5d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4003d527@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,2de8b2774d42c536 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-13 05:09:57 PST Date: Tue, 13 Jan 2004 14:02:13 +0100 From: Michel Leunen <mleu@STOPSPAMskynet.be> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: System Path References: <4003d527@newsgroups.borland.com> In-Reply-To: <4003d527@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.200.21.99 Message-ID: <4003ec5d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1073998941 80.200.21.99 (13 Jan 2004 05:02:21 -0700) Lines: 21 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail