Mix native c# and .net c#

Jan 23, 2015 at 2:10 PM
Hi,

Can I mix "native" C# with .net C#?

Native c# is converted to llvm language and this to native code. So I would need some export functionality?
Is there any support?
Coordinator
Jan 23, 2015 at 5:54 PM
You need to create native DLL and use PInvoke or DllImport to access methods in DLL from C# .NET
Jan 25, 2015 at 9:24 AM
Is there a way to specify the c# exports when creating a native dll with csnative? I couldn't find any way to do it. Ideally you'd want some kind of [DLLExport] attribute.
Coordinator
Jan 26, 2015 at 8:36 AM
I have not worked on DLLExport yet, the fastest way would be to fix generated .ll file and put "dllexport" attribute on methods (I have not tried it yet)
Feb 4, 2015 at 2:48 PM
Since WinForms aren't open source are there plans for some type of alternative?
Coordinator
Feb 4, 2015 at 3:45 PM
jasonjg wrote:
Since WinForms aren't open source are there plans for some type of alternative?
no, I am not planning to do it, the main target is OpenGL and SDL