>>I asked this before, and didn't get a good reply. Surely somebody knows how to help me.
>>
>>I want to create an ActiveX control which has an array property that can be set from VFP 6. I'm creating the ActiveX control in VC++ 6. Any ideas on how I pass array info back and forth via a property of the control? TIA!
>
>Ok, I'm gonna go there. :) The easiest way I can think of is to concatinate the array then pass it as a char and split it up at the destination. ie (12,13,44;76,8,99;1,2,3) would be a 3x3 array. I realize this is ugly but it would be simple after you have written the concatination and unconcatination procs written. large arrays may also be a problem. :(
>
>I would love to see some discussion on this topic. I have never been able to pick up an array in C++ from VFP either by val or by ref...
Take a look at the COMARRAY() function in VFP6.