CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    How can I intercept a win api calling?

    Hi All,

    I need intercept a win api calling, sush as GetLocalTime, and post my own value.
    Anybody can help me?

    Elton


  2. #2
    Join Date
    May 1999
    Posts
    53

    Re: How can I intercept a win api calling?

    I don't know if that is possible...there might be a way to modify KERNEL32.DLL, USER.EXE, or GDI.EXE or whatever file contains the function, but that doesn't seem safe...

    Or actually you might be able to revector the interrupt, whatever interrupt Windows uses, and then if it is a specific function, your own code could do stuff, otherwise the default code could be executed.

    Maybe.


  3. #3
    Guest

    Re: How can I intercept a win api calling?

    I think you should write a API hook?


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

Featured