《COM原理》教材配套程序 BOOL CreateObject(const CLSID& clsid, const IID& iid, void **ppv) { hModual = LoadLibrary("DictComp.dll"); if (hModual == NULL) return 0; typedef BOOL (__stdcall* MyFunctionType)(const CLSID& clsid, const IID& iid, void **ppv); MyFunctionType fnCreateObject; fnCreateObject