Comments (4)
We're in the process of adding support for declaring COM interfaces using only the windows
crate. microsoft/windows-rs#1486
from com-rs.
Yes, that should work but we'll know more once I'm further along with the new interface
macro. I hope to get started with that this week.
from com-rs.
Closing as solved, since windows-rs new interface
macro is more than usable to do this
from com-rs.
We're in the process of adding support for declaring COM interfaces using only the
windows
crate. microsoft/windows-rs#1486
This is wonderful news! That'd definitely solve everything. Thanks a lot ❤️
Sorry if this is an obvious question, but will this also work for my latter example of having the ExecNotificationQueryAsync
call work with the custom com interface, in this case the type IWbemObjectSink
?
Edit: I saw the example code from the pull request. I like how clean the proposed API to do this is! Much cleaner than this crate even. Great job!
from com-rs.
Related Issues (20)
- Parameters of class implementation should be borrowed, not owned
- Rust Analyzer can't recognize the IUnknown HOT 7
- Compatibility with Windows SDK / winapi crate HOT 1
- AbiTransferable on complex structures in winapi crate HOT 5
- Drop of COM class not working in webview2 example?
- Future of this crate HOT 6
- Interfaces nested more than 2 levels deep do not compile HOT 1
- Does class! support generic types? HOT 1
- docs.rs failed to build com-0.4.0 HOT 1
- Request to add an "Accessible" example
- Question: How do I get interface vptr from a struct? HOT 2
- com::interfaces! is not clean of clippy warnings HOT 1
- New release? HOT 2
- Generate rust code from IDL/TLB/COM dll? HOT 14
- How to use com-rs? HOT 1
- Could not find `class` in `com` HOT 3
- Support local (not/temporarily heap allocated) class instances
- This repo is missing important files
- any way to use activex dll?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com-rs.