Does Scheme work with Microsoft COM?
I'm new to Scheme 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 t开发者_运维知识库o connect to a COM source?
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.
精彩评论