Results 1 to 3 of 3

Thread: Can you subclass other apps?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363

    Post

    I've been told that VB cannot subclass out of process -- only within its own process (app), and that you would need Spyworks or some other third party subclassing control (using libraries) to subclass another app.

    Is this true??
    Thanks,
    Wade

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363

    Post No, you can't

    According to MSDN, you can't subclass out of process in NT/2000 (95/98 may fail also it says), but you can place the callback in a dll and set a global hook. Adds overhead, but you're not restricted to the same thread. Correct me if I'm wrong, please.

    Wade

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    363

    Post Is anyone reading this??

    "VB on its own cannot be used to create a system-wide hook. This is because the hook procedure must reside within a Windows DLL, and VB cannot create these beasts (because you cannot specify to export the HookProc function."

    Since I don't know C, I guess I'm back at square one Anyone have any ideas/direction?

    Thanks in advance,
    Wade
    I hope someone is reading this

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width