I need to call a non static member function from a static member function of the same class.
The static function is a callback. It can receive only void as data, though which i pass a char\*. So i cannot directly provide the class instance to the callback. I can pass a structure instead of char to the callback function. Can anyone give eg code to use the non static member function in a static member function . and use the structure in the static member function to use the instance of the class to call the non static member function?