typedef IUnknown* (*CREATEFUNCPTR)() ;是什么意思?
whlxy 2001-09-06 09:13:42 是把(*CREATEFUNCPTR)() 定义成一个IUnknown* 吧。
(*CREATEFUNCPTR)() 是什么意思?
下面的这段程序是说CreateInstance的返回类型是CREATEFUNCPTR吧!
那么CREATEFUNCPTR到底是什么呢?
。。。。。。
// Get address for CreateInstance function.
CREATEFUNCPTR CreateInstance
= (CREATEFUNCPTR)::GetProcAddress(hComponent, "CreateInstance") ;
if (CreateInstance == NULL)
{。。。。。
。。。。。。