
31 Oct
2010
31 Oct
'10
8:36 p.m.
Lloyd
hi, We have a class and it has a member function. When this function is called, it calls a Windows API. One of the argument of the windows API is a callback function. Naturally this callback function has to be a *non member* function. Is there any way by which I can pass a *member* function in the place of callback function. I heard about boost::bind, with bind is it possible? Thanks, Lloyd
Here are two separate things you can check out... http://www.codeproject.com/KB/winsdk/callback_adapter.aspx http://www.codeproject.com/KB/cpp/thunk32.aspx