Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Safearrays
Message
From
14/11/2002 12:43:27
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00722304
Message ID:
00722779
Views:
18
VFP has been able to pass an array of VT_UI1s since VFP 6 at least, but only in VFP 8 can you pass these to a COM server BY_REF. This was required by a business partner of my client that wrote COM servers that had to run and pass data streams on all Windows language versions. The VB and C++ clients and servers forced a conversion to Unicode which screwed up the data stream if passed as a string. COMARRAY just didn't work as advertised for these arrays until now. This one lack caused the client to ditch VFP a couple of years ago as evidence that VFP was a "weaker" tool than VB. This was in spite of VB's poor data handling capabilities. Management didn't have the technical expertise to properly evaluate the tools. Oh well, better late than never.

Gary

>Hi!
>
>Yep. You can create COM objects with SafeArray property type, as well as VFP should convert correctly SafeArray into string and vise versa. Also, in VFP8 there is a new addition to COMARRAY() function for byte arrays, though I do not know if this is the same.
>
>>Hi,
>>
>>Does VFP8 support Safearrays?
>>For the BinaryRead method of the ASP Request object it is neaded.
>>
>>
>>Hopefully
Previous
Reply
Map
View

Click here to load this message in the networking platform