Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

C# support? #46

Open
mitchellmcmillan opened this issue Jan 5, 2015 · 9 comments
Open

C# support? #46

mitchellmcmillan opened this issue Jan 5, 2015 · 9 comments

Comments

@mitchellmcmillan
Copy link

C# support would allow for easy Windows Phone integration.

@mitchellmcmillan
Copy link
Author

http://msdn.microsoft.com/en-us/library/ms235281.aspx shows how to wrap a C++ interface with C++/CLI to allow for use from any .NET language. Does not require generating C#.

@kepkin
Copy link

kepkin commented Mar 11, 2015

I believe it's better to use pInvoke here. Thus your C++ code will be trully native.

@HoppedUpDev
Copy link

Based on the comments, it seems that this issue is not viewed as a necessary change. While calling into native libraries may be trivial, going the other way still requires quite a bit of managed C++ glue code that could be generated. It would be really nice to have support for .NET. While Windows Phone may not represent a large marketshare, support for Windows desktops and tablets is definitely valuable.

@mhstnsc
Copy link

mhstnsc commented Oct 6, 2015

+1 for @HoppedUpDev

@croban
Copy link

croban commented Apr 18, 2016

+1 for @HoppedUpDev

1 similar comment
@yzhong52
Copy link

+1 for @HoppedUpDev

@grobx
Copy link

grobx commented Apr 22, 2016

GitHub now has reaction, I invite you to use it instead of +1

@lineker
Copy link

lineker commented Oct 19, 2017

is there anyone working on this already ?

@michal-kowalczyk
Copy link

michal-kowalczyk commented Oct 19, 2017

I doubt it. Windows Phone doesn't seem to be a platform which is worth time investment. Or maybe I missed some other opportunities?

Maybe it would be better to use SWIG here instead of djinni since the former is able to generate C# glue code. If you are using djinni already, you may combine both SWIG and djinni so that djinni generates C++ interfaces that may be parsed by SWIG and generate a glue code. And everything is managed by djinni's IDL.

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

10 participants