Re: System-wide hooking, VB+ASM
- From: "Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 5 Jun 2005 12:41:59 -0700
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:42a2bf6e.3410656@xxxxxxxxxxxxxxxxxxx
>
>>I don't know if VB uses a DLL entry point (called DllMain, LibMain or
>>whatever) but it probably does. We don't know what it is doing but it
>>could
>>be causing a problem somehow.
>
> My guess (and it is just a guess) is that all DLLs have this as a
> standard entry point.
That depends on what you mean by "standard". I think you mean that all DLLs
have an entry point function, since it is a standard. Not all DLLs have a
DLL entry point. I am not guessing, I know that the DLL entry point is not
required.
Perhaps you are thinking that when other languages, such as C++, are used to
create a DLL, that the source code is generate with a DLL entry point
function. When using VC 6 and a "Win32 Dynamic-Link Library" project is
created, we have a choice of three options. One is to create a project
without any source code generated, another is a project with a simple DLL,
and another is a project for a DLL that exports symbols. The source code
generated for the simple DLL does have a skeleton DllMain and that is all
that is in the source code. The third type of project generates source code
with a DllMain that also has a switch (select) statement and it has a sample
class that exports a couple of functions.
The DllMain can of course be deleted in a second from the generated source
code if it is not needed.
.
- Follow-Ups:
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- References:
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- From: Sam Hobbs
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- From: Karl E. Peterson
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- From: Jonathan Wood
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- From: Sam Hobbs
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- Prev by Date: Re: Passing string from VB to C++ dll routine
- Next by Date: Re: Using Visual Basic to Write System-Wide Hooks
- Previous by thread: Re: System-wide hooking, VB+ASM
- Next by thread: Re: System-wide hooking, VB+ASM
- Index(es):
Relevant Pages
|