I have to pass a pointer to a callback function. When the callback function is not a member function in my class, the argument &callback works. When I make the callback function a member function, I get a compiler error: "error c2276 '&' : illegal operation on bound member function expression." I am using Visual C++ .net and need to make the callback a member function so the data can be displayed to the gui. Thanks.
intf->registerForMessage(Message_ID1, &callback);