Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support more standard library types #760

Closed
Legorooj opened this issue Apr 30, 2021 · 2 comments
Closed

Support more standard library types #760

Legorooj opened this issue Apr 30, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Legorooj
Copy link

Currently, windows-rs doesn't support using types like OsString or PathBuf/Path. These types seem natural to use with the windows API, so could we get support for them? Happy to implement it if you can point me in the right direction.

@Legorooj Legorooj changed the title Support more standard types Support more standard library types Apr 30, 2021
@kennykerr kennykerr added the enhancement New feature or request label Apr 30, 2021
@ibigbug
Copy link

ibigbug commented May 2, 2021

Good idea.

I recently started building on windows-rs and realized that it seems to require something like this https://docs.rs/widestring/0.4.0/widestring/type.U16CString.html to pass strings.

@kennykerr
Copy link
Collaborator

The windows crate now provides some support for converting between standard library types. This is somewhat open-ended so I'll close this issue but feel free to open a new issue for any specific type that is otherwise hard to use with the windows crate and we can discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants