开发者

Does Scheme work with Microsoft COM?

开发者 https://www.devze.com 2023-01-03 05:43 出处:网络
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'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消