Re: [rust-dev] Access to COM/IUnknown objects from Rust?

2013-06-03 Thread Vadim
Rust traits are not binary-compatible with C++ vtables, so no, you cannot use them directly. I think it's possible to implement COM interop by doing some clever code generation via macros. I briefly looked into doing this a couple of months ago, but at the time it was not possible to specify calli

[rust-dev] Access to COM/IUnknown objects from Rust?

2013-06-03 Thread Alexandre Mutel
Hi, I have not seen any reference about this, so sorry If I'm posting a question that got already an answer somewhere. Rust seems to provide an infrastructure for accessing exported DLL functions, but is there a mechanism to access COM/IUnknown objects? There are lots of API - under Windows - t