-
I have a project that uses a third party .dll from a device manufacturer and they have provided a C# wrapper with a bunch of P/Invokes in it. Does this help in simplifying or getting rid of that wrapper code? |
Beta Was this translation helpful? Give feedback.
Answered by
AArnott
Feb 28, 2021
Replies: 1 comment 5 replies
-
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. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
myokeeh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.