Re: System-wide hooking, VB+ASM



"Simon Woods" <simonDELETECAPSjwoods@xxxxxxxxxxxx> wrote in message
news:OobPF5maFHA.2128@xxxxxxxxxxxxxxxxxxxxxxx
>
>
> Where I am is that I see a DLL as simply binary data in a particular
> form/wrapping ... whatever. Why can't that binary data be placed into a
> standard project in the same way as any other thunk and be used/invoked
> (however that would be done) for system-wide hooking?

I apologize if I am interpreting this out of context, but I think I can
answer in a useful manner.

Another way of describing a DLL is as a collection of functions that can be
related but are not required to be realted to be in a DLL. I think you know
that but I am not sure.

I think the problem is the VB runtime. It is very common for higher-level
languages such as VB to have a runtime environment that must be initialized
somehow. The VB runtime environment is not a problem when an ActiveX control
is used by an applicaiton (a process) that does not use VB since apparently
VB builds into the ActiveX DLL code to initialize the runtime. When the DLL
is used in an application without the ActiveX being used and without VB
being used by that application, then it is likely that the runtime does not
get initialized. That is my guess, but it seems likely to me that it is a
problem that will prevent use of a DLL created by VB as a system-wide hook
DLL.


.



Relevant Pages

  • Re: ADODB.Stream
    ... > Does anyone know how to convert the byte array to binary data that the ... > the following in the DLL: ... > Example Code Server Code: ... > Dim adoStream ...
    (microsoft.public.inetserver.asp.general)
  • Re: Image from memory
    ... I will able (and users that will have this dll referenced) to put the ... needings to refer into an saved bitmap.. ... plain text and binary data within a single response. ... If your only concern is that the code needs to be inside an assembly ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: System-wide hooking, VB+ASM
    ... Where I am is that I see a DLL as simply binary data in a particular ... well why not include a ref to an ActiveX dll or whatever type of ...
    (microsoft.public.vb.winapi)
  • Re: System-wide hooking, VB+ASM
    ... >> Where I am is that I see a DLL as simply binary data in a particular ... > Another way of describing a DLL is as a collection of functions that can ... The VB runtime environment is not a problem when an ActiveX ... > VB builds into the ActiveX DLL code to initialize the runtime. ...
    (microsoft.public.vb.winapi)
  • Re: System-wide hooking, VB+ASM
    ... Instead of the DllMain function being inside of the VB DLL (the DLL ... DllGetClassObject NullVar, IIDCF, NullVar ... > Where I am is that I see a DLL as simply binary data in a particular ...
    (microsoft.public.vb.winapi)