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

How about use SetDllDirectory (or Path variable) #3

Open
bobahml opened this issue May 5, 2015 · 1 comment
Open

How about use SetDllDirectory (or Path variable) #3

bobahml opened this issue May 5, 2015 · 1 comment

Comments

@bobahml
Copy link

bobahml commented May 5, 2015

The current implementation is not very suitable for the case when the native library is dependent on other native libraries.

What do you think about the following options use native libraries?

  1. Before loading of libraries depending on the environment (Mono \ x86, Win \ x64 ...) set the variable Path or call function SetDllDirectory
  2. Access the libraries using standart DllImport attribute (without a path parameter).
@AndreyAkinshin
Copy link
Owner

LGTM. Can you implement these ideas?

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

2 participants