Here is the method signature :<br><br>// in profile.hpp<br>template <class T> void ComputeRadiometries( boost::shared_ptr< TTImage <T> > image , const eInterpolatorType type_interpolator=BICUBIC )<br>{<br> // ...<br>}<br><br>Here is how I create the threads<br><br>// ...<br>boost::shared_ptr<Profile> p2 ( new Profile(origine+(double)i*width_sur_nb_fois_wdir,rect->GetHeightDirection(),MPPParameters_.ProfilesNbPoints_,MPPParameters_.ProfilesDistancePoints_ ) ); <br>boost::thread t(<br> boost::bind<br> (<br> &Profile::template ComputeRadiometries<unsigned char><br> , p2<br> , image_<br> , BICUBIC <br> )<br> );<br><br><div><span class="gmail_quote">2007/11/13, Ovanes Markarian <<a href="mailto:om_boost@keywallet.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> om_boost@keywallet.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Can you please post here som example how you function signature looks like, and how you create a new thread?<br><br>Regards,<br><span>Ovanes<br><br></span><div><span><span class="gmail_quote">On 11/13/07, <b class="gmail_sendername">Olivier Tournaire </b> <<a href="mailto:olitour@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">olitour@gmail.com</a>> wrote:</span></span><span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Geat, seems simpler. However, it does not compile for me (boost 1.33.1). Aot of error, but the first one seems to be the more interesting :<br><br>error C2780: 'boost::_bi::bind_t<R,boost::_mfi::dm<R,T>,_bi::list_av_1<A1>::type> boost::bind(R T::* ,A1)' : 2 arguments attendus - 4 fournis <br><br>(translation attempt : [...] 2 args waited, 4 given)<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span><div><span> <br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><span style="font-family: monospace;"></span><span></span></div></blockquote></div></blockquote></div></span></div> </span></div></blockquote></div><a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"></a></blockquote></span></div> <br>_______________________________________________<br>Boost-users mailing list<br><a href="mailto:Boost-users@lists.boost.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Boost-users@lists.boost.org </a><br><a href="http://lists.boost.org/mailman/listinfo.cgi/boost-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://lists.boost.org/mailman/listinfo.cgi/boost-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Le temps des cerises reviendra. Dans l'imm�diat, c'est le temps des noyaux. Courage.