Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Working with Safe Arrays?
Message
 
 
To
03/08/2004 11:07:43
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00930360
Message ID:
00930532
Views:
24
Tom,

It's not going to work because any array passed to VFP method will be converted to a VFP array.

>According to the VFP 8 help on DEFINE CLASS I should be able to specify an array as type String instead of the deault Variant. Supposedly this is achieved by using the AS clause in the paramter list which I have tried to no avail. In the below example, the SAS object should be return a list of library references as string values in an array. Apparently the arrays must all be of type string and be what is called a Safe Array. Has anyone had any luck using Safe Arrays in VFP 8?
>
>Here is what I have tried without success in many different combinations:
>
<snip>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform