[racket] Fwd: MysterX

From: José António Branquinho de Oliveira Lopes (jose.lopes at ist.utl.pt)
Date: Thu Feb 24 09:16:42 EST 2011

And how do I perform a "blind call"?

Quoting Antonio Leitao <aml at gia.ist.utl.pt>:

> ---------- Forwarded message ----------
> From: Joe Marshall <jmarshall at alum.mit.edu>
> Date: 2011/2/15
> Subject: Re: [racket] MysterX
> To: José Lopes <jose.lopes at ist.utl.pt>
> Cc: users at racket-lang.org
>
>
> MysterX will allow you to make a COM call without type information,
> but it cannot validate the argument list.  If you *know* the type info,
> you can make a `blind call' where you simply push the args on the
> stack, jump to the entry point, and pray that the callee is expecting
> those kind of arguments.  If you are wrong, your program just crashes
> and exits.
>
> If you don't have a clue about the types, then you are out of luck unless
> you can find a compatible typelib somewhere or generate one from
> an IDL file or something.
>
> 2011/2/15 José Lopes <jose.lopes at ist.utl.pt>:
>> Hello,
>>
>> It says in the documentation of MysterX that only COM objects that provide
>> type information are supported.
>> I want to interface with an application that does not provide type
>> information.
>> What can I do?
>>
>> Regards,
>> José
>>
>> --
>> José António Branquinho de Oliveira Lopes
>> 58612 - MEIC-A
>> jose.lopes at ist.utl.pt
>>
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/users
>>
>
>
>
> --
> ~jrm
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



José António Branquinho de Oliveira Lopes
58612 - MEIC-A
jose.lopes at ist.utl.pt




Posted on the users mailing list.