address of a member function
I need to get the address of a member function.I found out that it can't be done as usual ,i.e. using the function name as a pointer .
But Turbo C++ 3.0 help tells me that it can be done like this:
Bu it also states that member function pointers are not true pointer.I cannot use it as a pointer to a member function.
The following is what i want to accomplish:
void interrupt far (*OldISR)(...);
void interrupt far ISR(...);
OldISR = getvect(INT_NO);
But it simply doesn't work.
How can i do that?