🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: LoadLibrary() weird behaviour

#9237
From: Remy Lebeau (TeamB)
Date: Mon, 19 Jul 2004 19:40
26 lines
1803 bytes
"Miguel Gimenez" <nospam@solener.com> wrote in message
news:40fc2132@newsgroups.borland.com...

> I replaced the problematic DLL with this and
> the LoadLibrary() gave the same problems.

You are not listening to what is being told to you.  Your DLL probably has
dependancies on other files that it can't find when run outside of the IDE.
Go into the Project Options and disable the two options that were told to
you earlier and then recompile the DLL.

> By the way, please, tell me which is the most appropiate
> configuration for a system-wide hook, as it only catched
> calling-program events.

Then you are not using it correctly to begin with.  Please show your actual
code.

> The path is absolute, LoadLibrary("c:\\test.dll"). I also
> tried copying it to c:\windows\system.

That is not the issue.


Gambit
Technical Details
Message-ID: <40fc2389$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40fc066a@newsgroups.borland.com> <40fc175d$1@newsgroups.borland.com> <40fc2132@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c17dfc2eb3c7fd7b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40fc066a@newsgroups.borland.com> <40fc175d$1@newsgroups.borland.com> <40fc2132@newsgroups.borland.com>
Subject: Re: LoadLibrary() weird behaviour
Date: Mon, 19 Jul 2004 12:40:47 -0700
Lines: 28
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <40fc2389$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090265993 68.69.17.41 (19 Jul 2004 12:39:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail