Did this example used to work for you? Maybe something has changed in
recent versions of Windows?

-- Paul

On Fri, May 26, 2017 at 11:28 AM,  <[email protected]> wrote:
> Dear friends,
>
> I have startet using DrRacket again. I try to use this
>
> ::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);
>
>
> So MzCom.exe starts, I can see it in taskmanager but I get an
>>
>> 0x80004002("No such Interface supported" error when calling
>> CoCreateInstance() in a COM wrapper
>
>
> So I read :
>>
>> 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.
>
>
> As far as I can see right now the project/Component does not implement
> IClassFactory2
>
> So I am right on the end of my alphabet ;o)
>
> Any suggestions...
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-dev/c1741fa3-60ba-4818-8e2c-601b1e236127%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAMSKV5eghmSzVQNH6EqawL8_DU9zEw48dfAJHVsQuoMWDemNhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to