Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP & C++
Message
From
08/12/1998 11:09:19
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00165049
Message ID:
00165121
Views:
13
>>I asked this before, and didn't get a good reply. Surely somebody knows how to help me.
>>
>>I want to create an ActiveX control which has an array property that can be set from VFP 6. I'm creating the ActiveX control in VC++ 6. Any ideas on how I pass array info back and forth via a property of the control? TIA!
>
>Ok, I'm gonna go there. :) The easiest way I can think of is to concatinate the array then pass it as a char and split it up at the destination. ie (12,13,44;76,8,99;1,2,3) would be a 3x3 array. I realize this is ugly but it would be simple after you have written the concatination and unconcatination procs written. large arrays may also be a problem. :(
>
>I would love to see some discussion on this topic. I have never been able to pick up an array in C++ from VFP either by val or by ref...

Take a look at the COMARRAY() function in VFP6.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform