yaron klodovski wrote:
how do I call func2 using the pointer?
same as you are using pfunc1.
yaron klodovski wrote:
Sometimes I may pass 1 parameters, sometimes 2 or 3 or 4, and the data types may change.
you need to assign address of function having prototype same as function pointer.
i.e. function may look like this
int foo(char*,int);
or
int foo(char*,char*,int);
Prasad Notifier using ATL