Article View: borland.public.cppbuilder.nativeapi
Article #8931Re: Odd LoadLibrary Failure
From: Michael Lueck
Date: Wed, 18 Aug 2004 01:04
Date: Wed, 18 Aug 2004 01:04
11 lines
1867 bytes
1867 bytes
FYI I'm back to LoadLibrary and working fine now. Turns out the function I was trying to gain access to is not properly exported in the version of the SHELL32.DLL I have even though the MSDN site says v5 is the min requirement which I have a build of v5. I tested another function in the DLL and all is well. The error text was clear as mud and I looked towards LoadLibrary to be the source of failure when it was not. GetModuleHandle makes it sounds like it is based on the current PID, not for other programs having loaded it for their use... thus probably why it always fails in my tests. -- Michael Lueck Lueck Data Systems Remove the upper case letters NOSPAM to contact me directly.
Technical Details
Message-ID:
<4122aae4$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!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> <lq85i05semfghu5opjgd34ceb5qbfu34k3@4ax.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 21:04:19 -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> <lq85i05semfghu5opjgd34ceb5qbfu34k3@4ax.com> In-Reply-To: <lq85i05semfghu5opjgd34ceb5qbfu34k3@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.247.116.250 Message-ID: <4122aae4$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092791012 24.247.116.250 (17 Aug 2004 18:03:32 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.zanker.org!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail