Call Method Without Specifying Parameters
问题 this is sort of difficult to explain but I'll do my best. I will pose the question as it applies to one method, but know that this solution should be generic enough to apply to any possible method given. Consider the following: I have a regular old global method: void MyMethod( int a, int b ) { cout << a << " , " << b << endl; } I have another method that is to call this method. void Caller( void* method, void* data, int size ) { // convert method to some function calling convention // call