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

DllImport/Pinvoke support #7

Open
alisci01 opened this issue Jun 15, 2017 · 1 comment
Open

DllImport/Pinvoke support #7

alisci01 opened this issue Jun 15, 2017 · 1 comment

Comments

@alisci01
Copy link
Contributor

figured i try opening issues before i start working on things.

i was planning on tackling this next. my general idea was to generate function pointers for all dllimport functions that initially point to a trampoline that attempts to load the library/function. if it successfully loads, it'll replace the function pointer with what we grabbed, otherwise we throw an exception to mimic the JIT CLR behaviour.

ill probably leave out marshalling on the first pass, mostly because i always avoided it and need to do more proper research on it.

@ASDAlexander77
Copy link
Owner

having PInvoke would be biggest plus to the project, BTW you can have a look at CoreRT into PInvoke test to see if you can get any 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