Hi Guys ;) i've a problem with _beginthread in C++, This problem there is only when i use it in the class.
For example when i try with this :
The problem : conversion by 'overloaded-function' to 'void (__cdecl *)(void *)';
But when i try with this :
The problem : &namespace::class::Thread': call of function without topics; you can use 'namespace::class::Thread' for create a pointer at member.
:( can you help me? Thanks ;)
For example when i try with this :
Code:
void Class::Thread()
{
_beginthread((void (__cdecl*)(void*))Start,0,0);
}
But when i try with this :
Code:
void Class::Thread()
{
_beginthread(this->Start,0,0);
}
:( can you help me? Thanks ;)