Article View: borland.public.cppbuilder.nativeapi
Article #9024Re: Odd LoadLibrary Failure
From: Boba
Date: Tue, 17 Aug 2004 23:00
Date: Tue, 17 Aug 2004 23:00
18 lines
1388 bytes
1388 bytes
"Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> wrote in message
news:412289f4$1@newsgroups.borland.com...
>
> "Michael Lueck" <NmlueckO@SlueckPdataAsystemsM.com> wrote in message
> news:41228167$1@newsgroups.borland.com...
>
> > HMODULE Dll = LoadLibrary("SHELL32.DLL");
>
> You should never use LoadLibrary() to load SHELL32.DLL or KERNEL32.DLL.
why not?
> They are already loaded automatically at program startup,
> ...
how do you know?
Boba.
Technical Details
Message-ID:
<41228d23@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!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 From: "Boba" <Boba@somewhere.world> Newsgroups: borland.public.cppbuilder.nativeapi References: <41228167$1@newsgroups.borland.com> <412289f4$1@newsgroups.borland.com> Subject: Re: Odd LoadLibrary Failure Date: Tue, 17 Aug 2004 18:00:39 -0500 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 208.210.156.61 Message-ID: <41228d23@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1092783395 208.210.156.61 (17 Aug 2004 15:56:35 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail