Hi!
What kind of array accepts that ActiveX control? It looks like no way to pass it because formats of arrays do nto match. VFP array is a variant array of variant values. In OCX (I assume) it is probably array of integer values.
Usually this problem could not be solved, however, if you're lucky, a string prepared as a binary data array which contain each byte is a byte of the array (like a passing structure/array to teh Windows API function). For example, a string with array of 2 integer values will look like:
strArr=ConvToChars(int1) + ConvToChars(int2)
where ConvToChars function converts integer value into the 4-character string that in fact is a binary representation of the integer value in the memory.
>Has anyone used Polar Draw v2.0 with FoxPro 6 and more specifically, the AddPolygon method ? I cannot get it to accept ARRAYs I pass. I've tried passing by reference and value. I believe there may be some issues passing arrays to activeX controls. Can anyone help?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.