Results 1 to 40 of 47

Thread: Hook on an API Call

Threaded View

  1. #33
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Okinawa, Japan
    Posts
    271

    Re: Hook on an API Call

    Lyric8,

    Its system wide.
    It hooks the MessageBoxA from User32.dll.
    It wont work with the msgbox from a vb created exe because the exe is linked with MSVBVM60.DLL not directly linked with USER32.DLL.
    Also it wont work with a declared api, because still the exe only links with MSVBVM60.DLL which handles the api call.
    It should be possible to go down into the MSVBVM60.DLL and hook it there. That would be a bit more difficult and would probably have unwanted side effects. It would be hooked for any app using MSVBVM60.DLL.
    packetvb
    Last edited by packetVB; Feb 3rd, 2005 at 01:03 PM.

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