将MS.NET C#嵌入到c / c ++(如单声道) [英] Embedding MS.NET C# into c/c++ (like mono)

查看:172
本文介绍了将MS.NET C#嵌入到c / c ++(如单声道)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以将MS C#编译器嵌入到一个人性化的c / c ++主机应用程序中,并使这两种语言互操作,非常像Mono这样做(像此处此处)?

我有一个工作的实现这个基于Qt的C + +应用程序使用单声道,但我有限(我真的需要内存)由32位约束的Windows在Windows上(没有64位版本的Windows)。因此,可以用原来的C#实现来实现?

Is it possible to embed the MS C# compiler into an umanaged c/c++ host application and make both languages interoperate, very much like Mono does this (like here and here)?
I have a working implementation of this für my Qt based C++ Application using mono, but I'm limited (I really need the memory) by the 32bit constraint of mono on Windows (there are no 64bit releases for windows). So can this be achived with "the original" C# implementation?

BTW:我想继续使用GNU编译器(mingw-w64)。

BTW: I'd like to continue using GNU compilers (mingw-w64).

推荐答案

Microsoft支持这一点;其术语为托管

Microsoft does support this; their term for it is hosting.

这篇关于将MS.NET C#嵌入到c / c ++(如单声道)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆