How compile this managed c++ help urgently need [modified]
-
#using #using"CSharpHelloWorld.netmodule" using namespace System; public __gc class HelloWorldC { public: CSharpHelloWorld __gc *t; // Provide .NET interop and garbage collecting to the pointer. HelloWorldC() { t = new CSharpHelloWorld(); // Assign the reference a new instance of the object } // This inline function is called from the C++ Code void callCSharpHelloWorld() { t->displayHelloWorld(); } }; thanks in advance -- modified at 4:57 Monday 19th November, 2007
-
#using #using"CSharpHelloWorld.netmodule" using namespace System; public __gc class HelloWorldC { public: CSharpHelloWorld __gc *t; // Provide .NET interop and garbage collecting to the pointer. HelloWorldC() { t = new CSharpHelloWorld(); // Assign the reference a new instance of the object } // This inline function is called from the C++ Code void callCSharpHelloWorld() { t->displayHelloWorld(); } }; thanks in advance -- modified at 4:57 Monday 19th November, 2007
-
#using #using"CSharpHelloWorld.netmodule" using namespace System; public __gc class HelloWorldC { public: CSharpHelloWorld __gc *t; // Provide .NET interop and garbage collecting to the pointer. HelloWorldC() { t = new CSharpHelloWorld(); // Assign the reference a new instance of the object } // This inline function is called from the C++ Code void callCSharpHelloWorld() { t->displayHelloWorld(); } }; thanks in advance -- modified at 4:57 Monday 19th November, 2007
Whats the problem?
-
#using #using"CSharpHelloWorld.netmodule" using namespace System; public __gc class HelloWorldC { public: CSharpHelloWorld __gc *t; // Provide .NET interop and garbage collecting to the pointer. HelloWorldC() { t = new CSharpHelloWorld(); // Assign the reference a new instance of the object } // This inline function is called from the C++ Code void callCSharpHelloWorld() { t->displayHelloWorld(); } }; thanks in advance -- modified at 4:57 Monday 19th November, 2007
What is the problem? Looks okay.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon