Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Support IDispatch #25

Open Rantanen opened 6 years ago

Rantanen commented 6 years ago

We could derive the support for IDispatch interface when implementing COM interfaces. This would allow using Intercom components from dynamic scripting languages.

Unfortunately this requires a lot of other things, such as support for VARIANTs, etc. Not something that will be arriving immediately.

Rantanen commented 6 years ago

This might be on the roadmap. We'll need VARIANTs for SAFEARRAYS, which would be ideal for the collection support in Windows-land.

The initial plan was NOT to support SAFEARRAYS, but now that we came up with multi-interface generation for strings (ie. One trait -> COM interface with BSTRs + COM interface with Intercom strings) we could have the same for collections.

Also... once we get IDispatch we can include Excel as a supported platform!

<dowwie> Rantanen: wow. intercom has great potential <dowwie> Rantanen: this could allow Rust libraries to run with excel?