Hi folks,
I'd like to implement the Autoupdate shutdown callback to be
attached to an C++ member function of a class (instead of an ordinary C function).
How can I accomplish this task without any dirty workarounds? Thanks in advance.
Greetings
AutoUpdate shutdown function pointer to member function
Re: AutoUpdate shutdown function pointer to member function
I don't know the specifics of the AutoUpdate shutdown function but you may want to see the wiki article on using C++ member functions where the OS expects a C function. In general you need to do some work around if you want to pass a non-static class member function where a normal C function is expected.