Do you get this error on line 8?
If you get this error on line 8, replace this line:
void exampleThread(void*);
by this one
void (*exampleThread)(void*);
Regards,,,
Kimo
kim00000
Junior Poster in Training
93 posts since Oct 2009
Reputation Points: 12
Solved Threads: 11
I think the _beginthread takes a
void(*Somevoid)(void *)
as the first argument...
and you passed a
void Somevoid(void *) to it, so that's the reason
Regards,,,
Kimo :)
kim00000
Junior Poster in Training
93 posts since Oct 2009
Reputation Points: 12
Solved Threads: 11