C#, C++ ----- A question regarding Variant arrays in C#
Posted on 2005-03-05
I have a question regarding Vairiant arrays, what they are and how they are used in C#
I am looking at some software API documentation where is has this callable function listed in the document....
long CopyRetrievedDataToArray(short Period, VARIANT *DateArray, VARIANT *DowArray, VARIANT *DydmArray, VARIANT *OpenArray, VARIANT *HighArray,...etc)
My question is
1) What is a VARIANT array? Is it VARIANT in size? Size meaning elements or dimentions?
2) What can I do to call this function in C#? How do I declare and initialize a Variant array in C# or will any type of array do? Am I passing an array by reference in this situation?
3) Can someone show me some example code that can do what I need so I can emulate.
Please allow me to express my gratitude in advance.
Thanks once again.