私は機能を持っています
void __stdcall TestThread( String^ a, String^ b)
{
MessageBox::Show( a );
MessageBox::Show( b );
_endthread();
}
そして、私はこのようなスレッドを作成したいと思います:
_beginthread( &HWSW_GUI::Form1::TestThread , 0, NULL );
残念ながら、エラーが発生します。
Error 2 error C3374: can't take address of 'HWSW_GUI::Form1::TestThread' unless creating delegate instance d:\testvs2008\hwsw_gui\hwsw_gui\Form1.h 5177
誰かが私を助けてくれますか?それは私を夢中にさせています、そして私はそれを理解することができません。
ありがとう!