Subclassing (hooks) an, outside your own program, event or routine


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Subclassing (hooks) an, outside your own program, event or routine

  1. #1
    Marc Kammersgaard Guest

    Subclassing (hooks) an, outside your own program, event or routine


    I know now how to subclass a form or a control, which i have created, But
    say you want to subclass an outside program to intercept events or rutinecalls,
    and then respond to them from my program, before sending messages to the
    outside program. Is that possible? If so then please be so kind and give
    an example.

    I have heard that there should be some APIs called Hook-something, but i
    don't know how to use them appropriate.

    Thanks
    Marc Nyboe Kammersgaard
    Share on Google+

  2. #2
    Dan Appleman Guest

    Re: Subclassing (hooks) an, outside your own program, event or routine

    Intercepting out of process messages is something you don't want to even think
    about doing in VB (though you're welcome to try if you have a lot of time to burn).

    Our SpyWorks package does it (www.desaware.com), and you won't find a better
    solution to that particular problem.

    That's for intercepting or hooking messages. API functions is another matter
    entirely - you're on your own for that.

    Dan


    Marc Kammersgaard wrote:

    > I know now how to subclass a form or a control, which i have created, But
    > say you want to subclass an outside program to intercept events or rutinecalls,
    > and then respond to them from my program, before sending messages to the
    > outside program. Is that possible? If so then please be so kind and give
    > an example.
    >
    > I have heard that there should be some APIs called Hook-something, but i
    > don't know how to use them appropriate.
    >
    > Thanks
    > Marc Nyboe Kammersgaard


    Share on Google+

Similar Threads

  1. How long before the next version??
    By _CAG in forum .NET
    Replies: 146
    Last Post: 08-12-2002, 11:40 PM
  2. Re: App Object (fixes)
    By Rob Teixeira in forum .NET
    Replies: 129
    Last Post: 06-06-2002, 06:23 AM
  3. Please help with running executable vb program.
    By Gordon Reichhardt in forum VB Classic
    Replies: 2
    Last Post: 01-08-2002, 11:06 AM
  4. Subclassing and Hooks
    By kokoiski in forum VB Classic
    Replies: 4
    Last Post: 12-27-2000, 03:45 AM
  5. Subclassing and Hooks
    By kokoiski in forum VB Classic
    Replies: 0
    Last Post: 12-27-2000, 01:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center