Re: System-wide hooking, VB+ASM
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Wed, 01 Jun 2005 21:58:13 -0500
On Wed, 1 Jun 2005 11:18:29 -0700, "Karl E. Peterson" <karl@xxxxxxxx> wrote:
¤ Paul Clement wrote:
¤ > On Wed, 1 Jun 2005 09:44:49 -0600, "Jonathan Wood"
¤ > <jwood@xxxxxxxxxxxxxxxx> wrote:
¤ >
¤ > Jonathan,
¤ >
¤ > ¤ > You may be able to find any number common attributes, in
¤ > particular
¤ > ¤ because we're talking about a
¤ > ¤ > type of Windows PE, specifically a DLL.
¤ > ¤
¤ > ¤ Exactly.
¤ > ¤
¤ > ¤ > However, for whatever reason, you seem to want to
¤ > ¤ > marginalize the differences in the implementation between a COM
¤ > and
¤ > ¤ non-COM DLL.
¤ > ¤
¤ > ¤ No, I just know that adding COM functionality to a DLL does not
¤ > change the
¤ > ¤ underlying architecture. It only adds something more.
¤ > ¤
¤ >
¤ > Interesting point,
¤
¤ The very one I made earlier, btw.
¤
¤ > but with respect to Visual Basic, COM *is* the
¤ > underlying architecture that has been implemented.
¤
¤ No, COM is the *overlying* architecture, added for VB's benefit.
¤
Since COM represents a binary-standard infrastructure and architecture in an
integrated implementation, in addition to external supporting features, you
can't exactly describe it as overlying. It is not wrapper functionality if that
is what you are implying. If you don't believe me then check out the Component
Object Model specification.
¤ > ¤ > I think it's rather obvious that an ActiveX DLL doesn't implement
¤ > the same
¤ > ¤ standard Windows DLL
¤ > ¤ > calling convention.
¤ > ¤
¤ > ¤ Well, the underlying architecture implements exactly that when
¤ > exporting COM
¤ > ¤ functionality. Only by using a high-level language such as VB is
¤ > that hidden
¤ > ¤ from us.
¤ > ¤
¤ >
¤ > Once again, it's the COM implementation which defines the underlying
¤ > architecture
¤
¤ LOL! Without the baseline "underlying architecture", COM wouldn't be possible. You
¤ got yer chickens before yer eggs, man.
¤
Incorrect. COM is considered a language-independent binary-level standard unto
itself. The Windows DLL binary standard does not dictate how a COM component is
created.
¤ > and the mechanism by which the functionality is made
¤ > available.
¤
¤ Again, wrong. The functionality is made available by standard exports that, when
¤ called, register the COM elements with the system.
¤
COM doesn't implement standard exports. It implements the COM interface API.
Check the specs.
¤ > The fact that it follows a minimum level of standards for
¤ > a Windows PE doesn't really tell me much,
¤
¤ Clearly.
¤
¤ > ¤ For this thread, it was stated (not by you) that VB DLLs could not
¤ > be used
¤ > ¤ for system-wide hooks because they were not regular DLLs.
¤ > Certainly, in that
¤ > ¤ context, the statement is false.
¤ >
¤ > Can't say I've ever been able to create a system wide hook with
¤ > Visual Basic, so I'm assuming you're referring to using some type of
¤ > extension which enables you to do so.
¤
¤ And here we are, full circle. Why do you think you'd need to use an extension? What
¤ would said extension provide that isn't "in the box" already?
Sounds like a bluff to me. If it's so obvious, please provide a demo, rather
than "beg the question".
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- Follow-Ups:
- Re: System-wide hooking, VB+ASM
- From: Karl E. Peterson
- Re: System-wide hooking, VB+ASM
- References:
- Re: System-wide hooking, VB+ASM
- From: Paul Clement
- Re: System-wide hooking, VB+ASM
- From: Jonathan Wood
- Re: System-wide hooking, VB+ASM
- From: Paul Clement
- Re: System-wide hooking, VB+ASM
- From: Karl E. Peterson
- Re: System-wide hooking, VB+ASM
- Prev by Date: Re: System-wide hooking, VB+ASM
- Next by Date: Re: How To Detect Availability Of A WebCam On A PC
- Previous by thread: Re: System-wide hooking, VB+ASM
- Next by thread: Re: System-wide hooking, VB+ASM
- Index(es):
Relevant Pages
|