[racket-dev] [racket] ActiveX support

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sat Sep 1 18:40:20 EDT 2012

[redirected to dev@]

On Sat, Sep 1, 2012 at 6:00 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Fri, 31 Aug 2012 17:58:07 -0600, Matthew Flatt wrote:
>> At Fri, 31 Aug 2012 15:50:46 +0200, heraklea at gmx.de wrote:
>> > I have an ocx-control and I would like to use it from Racket.
>> >
>> > Is it possible to bind this control in any way to Racket/Scheme?
>>
>> I think the way to do that is to use IE as an ActiveX container.
>>
>> Below is an example that starts the "MSCAL.Calendar" control. As you
>> can see, I didn't figure out how to tell IE that it should trust the
>> control (so there's an 8-second pause while I click to allow in IE),
>> but maybe this will be enough to give you some ideas.
>
> Here's an improved example, but it depends on improvements and repairs
> in the latest `ffi/com' implementation in the git repo. The changes
> support calling the `write' method of an IE document and correctly
> reference-counting objects that are received as event arguments. It
> uses the "Sysmon" control that is included with Windows (I think), and
> it avoids creating a temporary file.

If this avoids constructing a temporary file, could we use it on
Windows for the documentation search?

-- 
sam th
samth at ccs.neu.edu

Posted on the dev mailing list.