Original Post
Is it possible to,
link a non static func inside a class?
I know its posible to link functions, but is it posible to link a function thats inside a spesific class?
class CExample{
public:
long a_value;
void AFunc(void){
a_value++:
}
};
CExample ex;
a_pointer = &ex->AFunc();
???? If not, is it possible to link class static funcs?
im trying to create a system, where the different parts are totaly independent, and where i create them as classes, and link the functions into extern func-lists... whitout needing to rewrite the func-list for ewery new func!
Is it posible?
The goal is to do this:
class CExample{
public:
CExample(){
RegisterFunc("ExampleAFunc",AFunc);
};
void AFunc(void){
};
};
then later:
RunFunc("ExampleAFunc");
I repeat myselfe: Is this posible?