Reply To: cannot convert parameter

Home Forums Discussions General Discussion cannot convert parameter Reply To: cannot convert parameter

#6572

muller
Participant

2) Do not work.

g_dispatcher = lib_CreateThread(NULL, 0, (LPVOID)dispatcher, (LPVOID)config, 0, &thread_id);
//'_beginthreadex' : cannot convert parameter 3 from 'LPVOID' to 'unsigned int (__stdcall *)(void *)'

1) How to edit function? sample, please.

Maybe I get this error because of the function prototype fault parameter?