Understanding Function Pointers

Publication: C++ Builder Developer's Journal
Issue: Volume 4, Number 7, July 2000

A very advanced article that discusses the practical uses of function pointers from VCL events to Windows API callbacks.

As you probably know, a pointer is a variable containing a memory address. Most programmers use pointers to store the address of simple data types (such as a char, int or long), or to access class objects. What isn’t well known is that functions reside in memory as well, and therefore it is possible to store the address of a function in a pointer

There is a version of this article available online.