Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving safearray BSTR** value from COM call in VFP
Message
From
24/07/2003 11:11:52
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, United States
 
 
To
22/07/2003 19:33:39
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00810883
Message ID:
00813105
Views:
37
Ed,
Glad to hear that something as easy as different call works. The problem I was needing to fix was sending a SafeArray of bytes BY_REF to a COM server provided by the business partner of a client I had at the time. They were anti-VFP and would make no adjustments of their methods to accomodate this problem.

I never tried passing an array of BSTR's since the business partner would only deal with VT_UI1's. It's always good to hear about things that work when we need them to.

Gary

>Thanks Gary for the info. Right before I read your message I tried changing my declaration of the object from
>
>createobjectex()
>to
>createobject()
>
>and everything seems to work with the array in VFP7 SP1 - don't know why but it does.
>
>Thanks for your ideas. If I find that this procedure stops working I'll know I need to do those steps and move to vfp8.
>
>From: Ed
Previous
Reply
Map
View

Click here to load this message in the networking platform