31 Jan
2006
31 Jan
'06
11:50 a.m.
Ok, I am using VC++ 6, SP5. The class has a member function void CDailyReportTree::foo() { } I am trying to spawn a thread from void CDailyReportTree::DrawHistoryTree(HTREEITEM item, const set, comp >& nodes, const CString& filename) { map , comp > > localMap; for (set , comp >::const_iterator i_ptr=nodes.begin(); i_ptr!=nodes.end(); ++i_ptr) { HTREEITEM reportItem = InsertItem(TVIF_IMAGE|TVIF_TEXT|TVIF_SELECTEDIMAGE, i_ptr->first.c_str(), 7,8, TVIS_BOLD, TVIF_TEXT, 0, item, item); localMap.insert(make_pair(i_ptr->first, make_pair(i_ptr->second.c_str(), reportItem))); } boost::bind(foo, this); } And I am getting lots of errors. Can anyone help? The errors are: DailyReportTree.cpp Note: Using precompiled header C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784: 'class boost::_bi::bind_t ,class boost::_bi::list1 > > __cdecl boost::bind(R T::*,A1)' : could not deduce template argument for 'overloaded function type' from 'overloaded function type' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list9 ,class boost::_bi::value ,class boost::_bi::valu e ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7,B8) const,A1,A2,A 3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(222) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list9 ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7,B8),A1,A2,A3,A4,A5 ,A6,A7,A8,A9)' : expects 10 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(211) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list8 ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7) const,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9 ar guments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(198) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list8 ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6,B7),A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(187) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list7 ,class boost::_bi::value ,class boost::_bi::value ,c lass boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6) const,A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(174) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list7 ,class boost::_bi::value ,class boost::_bi::value ,cl ass boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5,B6),A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(163) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list6 ,class boost::_bi::value ,class boost::_bi::value ,clas s boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5) const,A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(150) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list6 ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4,B5),A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(139) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list5 ,class boost::_bi::value ,class boost::_bi::value ,class b oost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4) const,A1,A2,A3,A4,A5)' : expects 6 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(126) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list5 ,class boost::_bi::value ,class boost::_bi::value ,class bo ost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3,B4),A1,A2,A3,A4,A5)' : expects 6 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(115) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list4 ,class boost::_bi::value ,class boost::_bi::value ,class boos t::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3) const,A1,A2,A3,A4)' : expects 5 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(102) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list4 ,class boost::_bi::value ,class boost::_bi::value ,class boost ::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)(B1,B2,B3),A1,A2,A3,A4)' : expects 5 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(91) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list3 ,class boost::_bi::value ,class boost::_bi::value > > __cdecl b oost::bind(R (__thiscall T::*)(B1,B2) const,A1,A2,A3)' : expects 4 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(78) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list3 ,class boost::_bi::value ,class boost::_bi::value > > __cdecl bo ost::bind(R (__thiscall T::*)(B1,B2),A1,A2,A3)' : expects 4 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(67) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list2 ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*) (B1) const,A1,A2)' : expects 3 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(54) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::list2 ,class boost::_bi::value > > __cdecl boost::bind(R (__thiscall T::*)( B1),A1,A2)' : expects 3 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_mf_cc.hpp(43) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784: 'class boost::_bi::bind_t ,class boost::_bi::list1 > > __cdecl boost::bind(R (__thiscall T::*)(void) const,A1)' : could not deduce template argument for 'overloaded function type' from 'overloaded function type' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784: 'class boost::_bi::bind_t ,class boost::_bi::list1 > > __cdecl boost::bind(R (__thiscall T::*)(void),A1)' : could not deduce template argument for 'overloaded function type' from 'overloaded function type' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@Vtemplate-parameter-BAG @Vtemplate-parameter-BAH@Vtemplate-parameter-BAI@Vtemplate-parameter-BAJ @Vtemplate-parameter-BAK@@ZV?$list9@V?$value@$DBAB@@_bi@boost@@V123@V123 @V123@V123@V123@V123@V123@V123@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5,B6,B7,B8,B9) ,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(112) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@Vtemplate-parameter-BAG @Vtemplate-parameter-BAH@Vtemplate-parameter-BAI@Vtemplate-parameter-BAJ @@ZV?$list8@V?$value@$DBAB@@_bi@boost@@V123@V123@V123@V123@V123@V123@V12 3@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5,B6,B7,B8),A1,A2,A3,A4,A5,A6,A7,A8)' : exp ects 9 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(101) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@Vtemplate-parameter-BAG @Vtemplate-parameter-BAH@Vtemplate-parameter-BAI@@ZV?$list7@V?$value@$DB AB@@_bi@boost@@V123@V123@V123@V123@V123@V123@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5,B6,B7),A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(90) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@Vtemplate-parameter-BAG @Vtemplate-parameter-BAH@@ZV?$list6@V?$value@$DBAB@@_bi@boost@@V123@V123 @V123@V123@V123@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5,B6),A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(79) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@Vtemplate-parameter-BAG @@ZV?$list5@V?$value@$DBAB@@_bi@boost@@V123@V123@V123@V123@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4,B5),A1,A2,A3,A4,A5)' : expects 6 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(68) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@Vtemplate-parame ter-BAF@@ZV?$list4@V?$value@$DB AB@@_bi@boost@@V123@V123@V123@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3,B4),A1,A2,A3,A4)' : expects 5 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(57) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@Vtemplate-parameter-BAE@@ZV?$list3@V?$va lue@$DBAB@@_bi@boost@@V123@V123 @@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1,B2,B3),A1,A2,A3)' : expects 4 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(46) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@Vtemplate-parameter-BAD@@ZV?$list2@V?$value@$DBAB@@_bi@boost@@V1 23@@_bi@boost@@ __cdecl boost:: bind(R (__cdecl *)(B1,B2),A1,A2)' : expects 3 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(35) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784: 'class boost::_bi::?$bind_t@$DBAB@P6A?AVtemplate-parameter-BAB@Vtemplate-parame ter-BAC@@ZV?$list1@V?$value@$DBAB@@_bi@boost@@@_bi@boost@@ __cdecl boost::bind(R (__cdecl *)(B1),A1)' : could not deduce template argument for 'overloaded function type' from 'overloaded function type' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t __cdecl boost::bind(R (__cdecl *)(void))' : expects 1 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind/bind_cc.hpp(17) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 11 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1380) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 10 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1372) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F,A1,A2,A3,A4,A5,A6,A7)' : expects 9 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1364) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F,A1,A2,A3,A4,A5,A6)' : expects 8 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1356) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue > > __cdecl boost::bind(struct boost::type ,F,A1,A2,A3,A4,A5)' : expects 7 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1348) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::b ind(struct boost::type ,F,A1,A2,A3,A4)' : expects 6 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1340) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F ,A1,A2,A3)' : expects 5 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1332) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value > > __cdecl boost::bind(struct boost::type ,F,A1,A2)' : expects 4 argume nts - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1324) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t > > __cdecl boost::bind(struct boost::type ,F,A1)' : expects 3 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1316) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2784: 'class boost::_bi::bind_t __cdecl boost::bind(struct boost::type ,F)' : could not deduce template argument for 'overloaded function type' from 'overloa ded function type' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1298) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1290) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2,A3,A4,A5,A6,A7)' : expects 8 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1282) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2,A3,A4,A5,A6)' : expects 7 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1274) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::va lue > > __cdecl boost::bind(F,A1,A2,A3,A4,A5)' : expects 6 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1266) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::b ind(F,A1,A2,A3,A4)' : expects 5 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1258) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2,A3)' : expects 4 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1250) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t ,class boost::_bi::value > > __cdecl boost::bind(F,A1,A2)' : expects 3 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1242) : see declaration of 'bind' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2783: 'class boost::_bi::bind_t > > __cdecl boost::bind(F,A1)' : could not deduce template argument for 'R' C:\cfxa_build\FXRiskEngine\DailyReportTree.cpp(699) : error C2780: 'class boost::_bi::bind_t __cdecl boost::bind(F)' : expects 1 arguments - 2 provided c:\vendor_libs\VC60\include\boost/bind.hpp(1226) : see declaration of 'bind' Error executing cl.exe. DailyReportTree.obj - 49 error(s), 0 warning(s) Kind regards Pshemek Przemyslaw Sliwa Global Foreign Exchange FX Risk Engine Development Merrill Lynch ( +44 (0)20 7995 4182 ) +44 (0)79 6325 2319 * Email: przemyslaw_sliwa@ml.com -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Christian Henning Sent: 30 January 2006 19:27 To: boost-users@lists.boost.org Subject: Re: [Boost-users] Spawning a thread on a member function Of course, you could start off threads everywhere. The problem might be synchronization and knowing if a thread is terminated or not. The function join() gives you one way to wait for a thread to terminate. I usually do that in a destructor. If you have a problem you work on, I would suggest, that you name it. So, I can help you more specifically. Christian _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users -------------------------------------------------------- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ --------------------------------------------------------