pass pointer to a thread function ?

From: mandatory (okllsam_at_nptklooohs.ru)
Date: 03/13/05


Date: Sun, 13 Mar 2005 23:48:38 +0100

hi,

i would like to pass a pointer to a thread function to a class.

The function in my code that i would like to get the address of, and pass it
to a class function is:

DWORD ServiceExecution(LPDWORD param)

And i would like to somehow send the address to a class function, similar to
this:

MyClass.ServiceExe (ServiceExecution):

Can this be done ? i have abit troubles getting it working - i remember that
i in the early years in normal C could do this fairly easy - but it has
really slipped my mind how the syntax is, and if its possible at all...

hope you can help !