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 does vtfixup get handled on Unix? #11904

Closed
niklaskarl opened this issue Jan 27, 2019 · 2 comments
Closed

How does vtfixup get handled on Unix? #11904

niklaskarl opened this issue Jan 27, 2019 · 2 comments

Comments

@niklaskarl
Copy link

I have a legacy project using .vtfixup to call into managed from a native application. I am wondering how porting to cross-platform can be accomplished the easiest way. Is it possible to load the assemblies using the Unix-Hosting interface and get the HMODULE (or dlopen equivalent) of the loaded assembly? Are exports and relocations applied on Unix at all or do I have to switch to CreateDelegate?

@jeffschwMSFT
Copy link
Member

As we incorporate the IJW activation logic for .NET Core 3.0 we are going to evaluate what vtfixup's look like x-plat. Can you elaborate on what scenario this would be used for?

cc @jkoritzinsky

@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the Future milestone Jan 31, 2020
@jkotas
Copy link
Member

jkotas commented Apr 25, 2020

We have no plans to support vtfixups on Unix.

Let's use #34571 to track the more general scenario of exposing .NET assemblies as native binaries.

@jkotas jkotas closed this as completed Apr 25, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants