|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-10-10 05:11:06
Bulygin, Sergey wrote:
> To bind to __stdcall calling convention function with boost::bind,
> there is a macro to define: BOOST_BIND_ENABLE_STDCALL. How can I do
> the same (bind to __stdcall-type function) with boost::lambda::bind?
You may want to try specifying the return type explicitly as in
bind<void>(my_stdcall_function, _1, 0) and see if it helps.
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