Lemme complete this for you (this is how you would use it):Originally Posted by Magos
Code:CStuff stuff; Pointer myFuncPtr = CStuff::Method; stuff.myFuncPtr(5);
Lemme complete this for you (this is how you would use it):Originally Posted by Magos
Code:CStuff stuff; Pointer myFuncPtr = CStuff::Method; stuff.myFuncPtr(5);
A couple of problems:Originally Posted by homeyg
1) There is no function definition anywhere.
2) VC++6 gives me an error using this syntax:
stuff.myFuncPtr(5);
It complains that myFuncPtr is not a member of CStuff. Does that work for you? What compiler are you using?
Okay.Originally Posted by 7stud
Last edited by homeyg; 04-01-2006 at 08:02 PM.