Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Add native library sample #6645

Merged
merged 7 commits into from
Dec 4, 2018
Merged

Add native library sample #6645

merged 7 commits into from
Dec 4, 2018

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Dec 4, 2018

Fixes #4987 and #6644

@tonerdo
Copy link
Contributor

tonerdo commented Dec 4, 2018

Ah, thanks! Was trying to come up with some fancy real-world use case but I can save that for a blog post. Someone already found a use case with Rust https://medium.com/@chyyran/calling-c-natively-from-rust-1f92c506289d

@@ -0,0 +1,48 @@
# Building a Native Libraries with CoreRT
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: Building Native Libraries with CoreRT

@filipnavara
Copy link
Member

Thanks for the work and documentation (especially to @tonerdo, whose PR served us as a good example). We have a use case for this in our application that we previously implemented using NetFX and assembly rewriting. We implement an email client that provides the standardized Simple MAPI interface. For that we need to have a DLL with specific exported functions that can be loaded by any application. Using NetFX was painful because of lack of official support and conflicts between different runtime versions loaded into single process (unlike executable programs we cannot control it with manifests).

@jkotas jkotas merged commit 0a37ad7 into dotnet:master Dec 4, 2018
@jkotas jkotas deleted the native-lib-doc-4987 branch December 10, 2018 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants