J Jon Skeet [C# MVP] Oct 5, 2004 #2 Alvin Lau said: what should i wirte in the .h and .cpp ? Click to expand... I suggest you ask in the Managed C++ group: microsoft.public.dotnet.languages.vc
Alvin Lau said: what should i wirte in the .h and .cpp ? Click to expand... I suggest you ask in the Managed C++ group: microsoft.public.dotnet.languages.vc
N Nicholas Paldino [.NET/C# MVP] Oct 5, 2004 #3 Alvin, The signature of your function should be (I believe): String* __gc[] MyClass::MyFunction() For the new bindings to the CLI in C++, you would want: array<String^>^ MyClass::MyFunction() Hope this helps.
Alvin, The signature of your function should be (I believe): String* __gc[] MyClass::MyFunction() For the new bindings to the CLI in C++, you would want: array<String^>^ MyClass::MyFunction() Hope this helps.