I have a C++ member function that I need to send to a C library function, but it keeps yelling at me
Here's what I do:
pthread_create(&pthread_id, NULL, this->*_run, NULL);
Here' s what it says:
cannot convert 'void *(MyClass::*)(void*)' to 'void *(*)(void *)'
Any ideas? Any help would be *greatly* appreciated.
NOTE: There was a major edit to this post once I found the real problem



LinkBack URL
About LinkBacks



