General information
Category:
ActiveX controls in VFP
>>I don't see COMARRY in your code... You need to know if your ActiveX control wants zero based array or one based... if it is VC++ or VB or VJ++ probably needs zero based array... use the comarray code that passes the array by reference as a Zero based array.
>
>
>I try it with all the possibilities of COMARRAY (0,1,10,11), but the problem is always there. The problem seems to be that VB (COM) don't understand my array. The COM Want to receive an array of strings and it don't understant the format of my array. Did I have to change my COM (pass string instead of array of strings),... ??
Ah... is it an array of pointers to strings? Or, is it an array of strings? You may have to populate the elements of the array with space(x). x would be the length that they want the strings to be.
If it is an array of pointers to strings you may want to ask in the API section how to pass that... that is simmilar to stuff you need to pass to alot of C interface API functions.
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only