views:

52

answers:

1

I'm new to Scheme -- the functional programming language and I like it a lot for its first-class/higher-order functions. However, my data comes from a COM source with an object-oriented API.

I know Scheme and COM belong to different programming paradigms, but I'm wondering if there is any interface or a way for Scheme to connect to a COM source? Thanks.

+1  A: 

In MIT-Scheme, it looks like there are some low-level Win32 primitives but nothing for supporting COM/ActiveX. Looks like you can access DLL functions via a "Foreign Function Interface"

See also "How can I interface to COM/ActiveX, CORBA, EJB?" on the schemewiki.org, which claims that PLT-Scheme has COM/ActiveX bindings.

Jason S
Yes, PLT Scheme (now called Racket) has both a [COM](http://docs.racket-lang.org/mzcom/) interface and an [ActiveX](http://docs.racket-lang.org/mysterx/) one.
Eli Barzilay