Valhalla Legends Archive

Programming => General Programming => .NET Platform => Topic started by: Sorc.Polgara on January 12, 2005, 08:44 PM

Title: [C++.Net] How to use the System
Post by: Sorc.Polgara on January 12, 2005, 08:44 PM
I can't get to use the "System" stuff

I looked at code from googling for examples, and I looked at it on MSDN but I still can't seem to utilize the different classes in my project


using System;
using System.Decimal;


Ok, many of the stuff I see on google, all they show is something like that above.

I put that in, but I get errors.  bleh.

Can I get some noob help on how to actually make it so that I can use it?
Title: Re: [C++.Net] How to use the System
Post by: MyndFyre on January 12, 2005, 08:48 PM
If you're wanting to use Managed Extensions for C++, refer to this page at MSDN (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_using_directive.asp).

You need to make sure you're compiling with /clr, and to include:


#using <mscorlib.dll>
using namespace System;