• Welcome to Valhalla Legends Archive.
 

[C++.Net] How to use the System

Started by Sorc.Polgara, January 12, 2005, 08:44 PM

Previous topic - Next topic

Sorc.Polgara

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?

MyndFyre

If you're wanting to use Managed Extensions for C++, refer to this page at MSDN.

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


#using <mscorlib.dll>
using namespace System;
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.