Skip to content
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

Allow ZContext to be created using a user provided native context via IntPtr #157

Open
toeb opened this issue Aug 7, 2018 · 0 comments
Open

Comments

@toeb
Copy link

toeb commented Aug 7, 2018

For Inprocess Communcation between dotnet and native c/c++ the context pointer needs to be the same. If the C++ Backend provides this pointer then I can only inject it via Reflection into the ZContext. (by terminating then setting the private field in ZContext).

It would be nice to have a constructor or Factory Method which allows me to create the ZContext using an IntPtr as a parameter.

This could be dangerous of course....

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

No branches or pull requests

1 participant