i want to make an Object Test to control many threads.
Test.cpp
class Test{
public:
Test();
void exampleThread(void*);
};
Test::Test(){
_beginthread(exampleThread, 0, 0);
}
void Test::exampleThread(void* ptr){
...
}
i get the error
argument of type `void (Test:: )(void*)' does not match `void (*) (void*)'
what must i write so that i can make an Object control many threads?
thanks.