To use callback class member functions, you need to have a static wrapper function. You pass the instance of class (object) to this wrapper function along with arguments, which in turns passes the arguments to appropriate member function.

Read about this on http://www.newty.de/fpt/callback.html, and then tried it.