Mitch,
Yes, you can, assuming that the method on the object from the OCX is
expecting a SAFEARRAY of doubles.
Have you imported the OCX into .NET? You can easily do this by adding
it to your toolbox (there is a COM tab when you configure the toolbox).
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
<mi***@bmtmis.demon.co.uk> wrote in message
news:11*********************@v46g2000cwv.googlegro ups.com...
In a c# client I have the following:
double [] data = {1.0,2.0,3.0,4.0};
I have an OCX wriiten in c++ using dev studio 6.0.
Can I pass the array to the OCX? How would you do this?
I've looked and looked and failed so far. Is it possible?
Thanks,
Mitch.