::MZCOMLib::IMzObj* pIMzObj;
CLSID clsid;
CLSIDFromProgID(L"MzCOM.MzObj.6.9.0.4",&clsid);
const IID IID_IMzObj = {0xA604CBA8,0x2AB5,0x11D4,{0xB6,0xD3,0x00,0x60,0x08,0x90,0x02,0xFE}};
HRESULT hRet = CoCreateInstance(clsid,NULL,CLSCTX_SERVER,IID_IMzObj, (void **)&pIMzObj);
0x80004002("No such Interface supported" error when calling CoCreateInstance() in a COM wrapper
KB229770 from Microsoft. PRB: CoGetClassObject for IClassFactory2 Returns E_NOINTERFACE for Configured Components SYMPTOMS When you call the CoGetClassObject function for the IClassFactory2 interface on components that are hosted in a COM+ application, the function fails with error 0x80004002 ("No such interface supported" or E_NOINTERFACE). CAUSE This error occurs because the class factory wrapper for configured components only supports the IClassFactory interface, not the IClassFactory2 interface.
#lang racket(require ffi/com)
(define mz (com-create-instance "MzCOM.MzObj"))(com-invoke mz "About")GetTypeInfo: failed (8002801d; Bibliothek nicht registriert.)