Even in the DrRacket IDE instantiation of the modul does not seems to work?!
I try this
#lang racket
(require ffi/com)

(define mz (com-create-instance "MzCOM.MzObj"))
(com-invoke mz "About")

Then I get this:
GetTypeInfo: failed (8002801d; Bibliothek nicht registriert.)



Am Samstag, 27. Mai 2017 17:06:09 UTC+2 schrieb [email protected]:
>
> No, it doesn´t create an instance. Thatswhy I write here....
> I am on a windows 10 machine x64 so I dont have any clue
>
> Am Freitag, 26. Mai 2017 18:09:06 UTC+2 schrieb steck:
>>
>> 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/69f5508e-52a2-4479-8d32-646ec6a87a57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to