通过保存函数地址的指针调用函数会生成错误代码:
p=GetProcAddress(h,"installhook");//p is a pointer that holds the address returned from getprocaddress() function
(*p)(); //using this pointer making a call to installhook function
但是当我通过它进行调用时,代码正在生成错误,(*p)();
它说术语不会评估为函数。如何克服这个问题?还有其他方法可以使用指针调用函数吗?