2009/4/16 Roman Perepelitsa <roman.perepelitsa@gmail.com>
If you don't want or can't overload get_pointer, you can use double bind trick.
CComPtr<ThisObj> self(this);
asyncSubsystem_->doSomething(bind(bind(&ThisObj::handler, this), self));
Sorry, you'll also need a protect.
asyncSubsystem_->doSomething(bind(protect(bind(&ThisObj::handler, this)), self));
Roman Perepelitsa.