Article View: borland.public.cppbuilder.nativeapi
Article #9023Re: Odd LoadLibrary Failure
From: Michael Lueck
Date: Tue, 17 Aug 2004 22:57
Date: Tue, 17 Aug 2004 22:57
22 lines
1573 bytes
1573 bytes
Remy Lebeau (TeamB) wrote:
>>HMODULE Dll = LoadLibrary("SHELL32.DLL");
> so use
> GetModuleHandle() instead.
So that becomes:
HMODULE Dll = GetModuleHandle("SHELL32.DLL");
Error remains: error 126: The specified module could not be found.
And dumping Dll to the console now shows: Dll=00000000
Sounded like a good idea
--
Michael Lueck
Lueck Data Systems
Remove the upper case letters NOSPAM to contact me directly.
Technical Details
Message-ID:
<41228d3b$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41228167$1@newsgroups.borland.com> <412289f4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,8d61921d2e5eb0c4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 17 Aug 2004 18:57:45 -0400 From: Michael Lueck <NmlueckO@SlueckPdataAsystemsM.com> Reply-To: NmlueckO@SlueckPdataAsystemsM.com Organization: Lueck Data Systems User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Odd LoadLibrary Failure References: <41228167$1@newsgroups.borland.com> <412289f4$1@newsgroups.borland.com> In-Reply-To: <412289f4$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.247.116.250 Message-ID: <41228d3b$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092783419 24.247.116.250 (17 Aug 2004 15:56:59 -0700) Lines: 22 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail