[Mono-dev] Can Mono use system namespace for c++?

Kornél Pál kornelpal at gmail.com
Sat Nov 1 04:17:21 EDT 2008


zehua wrote:
> I need to use c++ for Mono. When I write c++ in windows, I can use "#using
> <mscorlib.dll". But mono
> can not recognize the #usnig. I need to use some class comes from namespace
> system, like DateTime, Hashtable and so on. Is there a way to do that? 

I think that you are doing something like compiling C++ code using a C# 
compiler.

The Mono runtime can run compiled C++ assemblies on all supported 
platforms as long as they are fully managed (not native or mixed mode).

But Mono has no C++ compiler and the only C++ compiler supporting 
managed code generation was created by Microsoft (Visual C++).

Kornél


More information about the Mono-devel-list mailing list