i'm trying to start a thread.
'startserver' is a class method.
whats the proper syntax for this?
passing a pointer of a class method
my book says '&std_interface::suspend' but that keeps causing an error.
do a board search for "pointers to members". We discussed this at length last week and it has been done many times before.
Here is one solution.
typedef abc (*pointerXYZ)(...);
static abc XYZ(...);
pointerXYZ funcPointer = &X::XYZ;