Click here to Skip to main content
15,896,915 members
Articles / Programming Languages / C++

A C++ Style of Intercepting Functions

Rate me:
Please Sign up or sign in to vote.
4.84/5 (27 votes)
12 Nov 2010CPOL8 min read 91.4K   667   93  
This article is about detouring functions in a more safe C++ programming style.
In this article, you will see how C++ templates, encapsulation and automatic destruction makes it much easier to safely rewrite executable code, or even more, to use OOP when intercepting functions.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Thomson Reuters
Moldova (Republic of) Moldova (Republic of)
I'm C/C++ developer since 1999.
My favorite language is C++ and my favorite programming environment is Microsoft Visual Studio.

Comments and Discussions