Re: System-wide hooking, VB+ASM
- From: "Mark Yudkin" <myudkinATcompuserveDOTcom@xxxxxxxxx>
- Date: Sun, 22 May 2005 09:36:58 +0200
If you find being told to use some initiative rude, then so be it. As to
your concrete question, you have been given URLs and API names. The answer
to your question is trivially obvious from the documentation on the
SetWindowsHookEx API. I am prepared to give pointers to solve a problem, but
you have to RTFM for yourself.
And telling somebody to read the documentation is not rude, rather it is
posting questions without reading the documentation that is rude -
especially after you've been told EXACTLY what to read.
"Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx> wrote in message
news:OWCIwLVXFHA.2520@xxxxxxxxxxxxxxxxxxxxxxx
> Mark,
>
>> I figured if I gave you a URL, you could look up the complete feature set
>> yourself.
>
> Yeah, I guess I didn't realize asking you a simple question would be a
> problem for you. I guess some people just feel threatened when someone
> questions something they said. Hey, we should all be open to learning
> something new.
>
>> If you had read the documentation you'd have seen that SetWindowsHookEx
>> requires the DLL handle and entry address. If you had read the
> documentation
>> you'd have seen that these are obtained using the normal Windows APIs
>> LoadLibrary and GetProcAddress respectively, both of which are readily
>> callable from VB.
>
> Well, your rude tone aside, why can't you simply have the hook installed
> from the same DLL? The callback could be in a BAS module of the DLL and
> you
> could simply use AddressOf to provide the lpfn argument. No LoadLibrary or
> GetProcAddress calls required.
>
> --
> Jonathan Wood
> SoftCircuits
> http://www.softcircuits.com
> Available for consulting: http://www.softcircuits.com/jwood/resume.htm
>
>
>
.
- Follow-Ups:
- Re: System-wide hooking, VB+ASM
- From: Michael C
- Re: System-wide hooking, VB+ASM
- References:
- System-wide hooking, VB+ASM
- From: Simon Woods
- Re: System-wide hooking, VB+ASM
- From: Mark Yudkin
- Re: System-wide hooking, VB+ASM
- From: Jonathan Wood
- Re: System-wide hooking, VB+ASM
- From: Mark Yudkin
- Re: System-wide hooking, VB+ASM
- From: Jonathan Wood
- System-wide hooking, VB+ASM
- Prev by Date: Instance handle
- Next by Date: Re: Windows crypt32.dll or similar?
- Previous by thread: Re: System-wide hooking, VB+ASM
- Next by thread: Re: System-wide hooking, VB+ASM
- Index(es):
Relevant Pages
|