Casting System::Object __gc * to System.Double
I'm using Visual C++ .NET 2003. I have a function which returns, say,
System::Object __gc *rms
(this function is a member of a COM object).
Console::Write(rms) prints System.Double, but I don't know how to get the values. I know I should get four doubles, but whatever I try, I get an Index out of bounds message.