API Hooking?

This is a discussion on API Hooking? within the Windows Programming forums, part of the Platform Specific Boards category; Originally posted by Sayeh 2) Replace the API trap with your won to modify behavior entirely (this is incredibly useful ...

  1. #16
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by Sayeh
    2) Replace the API trap with your won to modify behavior entirely (this is incredibly useful for modifying the behavior of the O/S or correcting bug fixes until a new release is made,
    Sayeh...out of interest, is this technique actually used that much?

    I've seen articles on its use, but I often wondered on how much its actually used in practice.....I wondered if some of the "Hot fixes" you download as bug fixes from Microsoft used this as an interim fix before a decent service pack was released.....

  2. #17
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Here's a real gem, some articles (1), (2) Matt Pietrek wrote back in February that illuminates the subject quite well. Enjoy...
    Last edited by Sebastiani; 11-21-2002 at 12:21 PM.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Want to learn Windows API for Game Programming
    By George M. in forum Windows Programming
    Replies: 15
    Last Post: 09-28-2008, 11:26 AM
  2. Strange error while attempting API hooking
    By cefarix in forum Windows Programming
    Replies: 2
    Last Post: 11-10-2006, 01:29 PM
  3. FILES in WinAPI
    By Garfield in forum Windows Programming
    Replies: 46
    Last Post: 10-02-2003, 07:51 PM
  4. API hooking breakthru
    By bonkey in forum Windows Programming
    Replies: 5
    Last Post: 11-26-2002, 08:02 AM
  5. pthread api vs win32 thread api
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 11-20-2001, 08:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21