Funkcja członka statycznego _beginthreadex
Jak utworzyć procedurę wątku statycznej funkcji składowej
class Blah
{
static void WINAPI Start();
};
// ..
// ...
// ....
hThread = (HANDLE)_beginthreadex(NULL, 0, CBlah::Start, NULL, NULL, NULL);
Daje mi to następujący błąd:
***error C2664: '_beginthreadex' : cannot convert parameter 3 from 'void (void)' to 'unsigned int (__stdcall *)(void *)'***
Co ja robię źle?