Re: [Boost-users] __stdcall bind-s with boost::bind andboost::lambda
10 Oct
2005
10 Oct
'05
10:34 a.m.
boost::lambda::bind<RetType>(..) works like a charm. :) Thanks a lot, Peter! Sergey Peter Dimov 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.
6975
Age (days ago)
6975
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bulygin, Sergey