Skip to content

Does this help with simplifying P/Invoke with third-party .dll files? #161

Answered by AArnott
myokeeh asked this question in Q&A
Discussion options

You must be logged in to vote

No. CsWin32 only projects functions exported from Windows dll's -- not 3rd party ones.

Our technique however may be adopted by 3rd parties. The win32metadata repo first parses the header files with ClangSharp to produce a winmd file. Then CsWin32 transforms the winmd into C# source code.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@derek987654
Comment options

@AArnott
Comment options

@derek987654
Comment options

@AArnott
Comment options

@derek987654
Comment options

Answer selected by myokeeh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants