   Function pointer problems
  I have a class for my application (APP) and a static member fuction wndproc (the window procedure) .. Because the only way to get the wndproc to work is to have it static I have a problem when I''m trying to create a function pointer to the program ''loop'' which is just the message loop. How can I have a function pointer as a member of that class and have it work in the static APP::wndproc function?? 
  take a look at boost::function.   