Boost logo

Boost Users :

Subject: [Boost-users] Windows API callback, using boost::bind
From: Lloyd (lloyd_at_[hidden])
Date: 2010-10-29 02:42:06


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

______________________________________
Scanned and protected by Email scanner



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net