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

Avoid calls to RoOriginateErrorW #167

Merged
merged 2 commits into from
Mar 7, 2024
Merged

Avoid calls to RoOriginateErrorW #167

merged 2 commits into from
Mar 7, 2024

Conversation

veeenu
Copy link
Owner

@veeenu veeenu commented Mar 7, 2024

As per microsoft/windows-rs#1287, instantiating a windows::core::Error calls RoOriginateErrorW when a message is passed in. This is not available at the moment on Wine.

Since now Wine compatibility is an explicit goal, this PR removes those calls. Running the library at all at the cost of slightly more opaque errors is a reasonable tradeoff.

@veeenu veeenu merged commit 041ce35 into main Mar 7, 2024
1 check passed
@veeenu veeenu deleted the ro-originate-deez branch March 7, 2024 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant