Skip to content

Fix a doc details about loading Native DLLs #3310

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

Merged
merged 5 commits into from
Oct 11, 2019
Merged

Conversation

swaroop-sridhar
Copy link
Contributor

Summary

  • Note that NativeLibrary.Load() etc. must return the actual OS handle
  • Note that AssemblyLoadContext.LoadUnmanagedDllFromPath() also returns the OS handle
    (also fix its exceptions).

- Note that `NativeLibrary.Load()` etc. must return the actual OS handle
- Note that `AssemblyLoadContext.LoadUnmanagedDllFromPath()` also returns the OS handle
  (also fix its exceptions).
Copy link
Contributor

@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @swaroop-sridhar for your PR. Left a couple of suggestions.

@bartonjs, @joperezr can you review the changes?

@mairaw mairaw requested review from bartonjs and joperezr October 9, 2019 06:25
@mairaw mairaw added this to the October 2019 milestone Oct 9, 2019
Copy link
Member

@bartonjs bartonjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the comments in dotnet/coreclr#27090, seems good to me.

@swaroop-sridhar
Copy link
Contributor Author

@mairaw I've applied the changes you suggested. Thanks.

Copy link
Contributor

@mairaw mairaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @swaroop-sridhar!

@mairaw mairaw merged commit 9c734f4 into dotnet:master Oct 11, 2019
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.

4 participants