M
mandatory
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 !
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 !