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

Is it posible to generate IDL from c# class metadata #1

Open
frenchfish opened this issue Dec 15, 2023 · 3 comments
Open

Is it posible to generate IDL from c# class metadata #1

frenchfish opened this issue Dec 15, 2023 · 3 comments

Comments

@frenchfish
Copy link

Your project generate native code pinters ,vtable from IDL?
The question is how to generate automatically IDL,can I use tool like tlbexp orothers?

@kekekeks
Copy link
Owner

Unfortunately the idl dialect doesn't exactly match MIDL since the tool was initially developed for a limited use case. The reason why IDL is used instead of C# metadata was the need to generate C++ headers too.

@frenchfish
Copy link
Author

looks like you need generate .H also from IDL or TLB.. there are such functions
But thanks for reply. Your project is inspiration for me :-)

@kekekeks
Copy link
Owner

We are using it for C#/C++ interop on linux and mac, so midl.exe tool isn't available for C++ header generation and TLB parsing

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