Skip to content

How is Vanara compared to terrafx.interop.windows? #433

Closed Answered by dahall
iahung3 asked this question in Q&A
Discussion options

You must be logged in to vote

Terrafx is a great and complete library very similar in function to Vanara. The major difference is that Terrafx takes a direct approach using unsafe methods and structures and a near identical expression. Vanara takes a .NET centric approach that attempts to use managed patterns and base class elements. For example, Terrafx might take a complex structure and provide an unsafe pointer to an unsafe structure and leave string or other marshaling activities to the user. Vanara takes that same method and provides a method overload that custom marshals the structure directly into its managed form.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dahall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants