__stdcall bind-s with boost::bind and boost::lambda
9 Oct
2005
9 Oct
'05
6:28 p.m.
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? Thank you, Sergey
10 Oct
10 Oct
10:11 a.m.
New subject: __stdcall bind-s with boost::bind and boost::lambda
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.
6988
Age (days ago)
6989
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bulygin, Sergey
-
Peter Dimov