Re: System-wide hooking, VB+ASM
- From: "Sam Hobbs" <samuel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 6 Jun 2005 14:47:41 -0700
"J French" <erewhon@xxxxxxxxxx> wrote in message
news:42a416b7.91305276@xxxxxxxxxxxxxxxxxxx
>
> It looks as if you are saying that a DLL need not have an entry point.
>
> Somehow I doubt that, if an /explicit/ entry point is deleted then the
> compiler (or maybe the linker) would supply an implicit entry point.
>
> Or more likely the 'implicit' entry point looks for the 'explicit'
> entry point and calls it if it is not Null.
>
> Have a look at www.masm32.com
> and download their programming kit
Wrong. I avoid saying "Wrong" like that and I seldom do. In this situation,
you have said something incorrect and I have replied by stating what is
correct. You still insist I must be wrong, therefore I must escalate by
stating explicitly that you are wrong.
A DLL is just a bunch of functions. They don't have to have anything in
common except their existence in a linked file (DLL). The functions don't
need to make an application; usually they don't. A DLL is a lot like a BAS
file to the extent that the contained functions do not need to be related. A
BAS file can contain arbitrary functions (and subs) that can be called
independently of each other, and so can DLL functions be independent of each
other.
That is why it is important to have a term to refer to "Regular DLLs" and
why it is often difficult for VB programmers to undestand what they are.
> You'll find that the DLL example is actually an EXE and the last line
> is:
> End LibMain
>
> Which is the standard way in which one determines the entry point of
> an EXE or a COM
Yes, I am familiar with the "End" statement in assembly language. I have
also programmed using the assembler for IBM 360 style processors and I think
the assemblers for 808x style processors (including Pentiums) are using the
"End" statement in assembly language in the same way that the IBM 360
assembler did nearly a half century ago.
You probably don't realize that in that context "COM" has a meaning very
different from what you think. In that context, a COM file is totally not an
ActiveX think nor anything OLE. I hope someday you can laugh at how far off
you are.
You really are shooting from the hip, with poor aim. I am sorry for being
that extreme, but it seems important to emphasize that you need to be more
careful about saying things you are unfamiliar with.
.
- Follow-Ups:
- Re: System-wide hooking, VB+ASM
- From: Sam Hobbs
- 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
- From: Sam Hobbs
- Re: System-wide hooking, VB+ASM
- From: J French
- Re: System-wide hooking, VB+ASM
- Prev by Date: Re: self-autoupdate vb exe
- Next by Date: Re: System-wide hooking, VB+ASM
- Previous by thread: Re: System-wide hooking, VB+ASM
- Next by thread: Re: System-wide hooking, VB+ASM
- Index(es):
Relevant Pages
|