 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Cagatay Undeger Guest
|
Posted: Sun Mar 20, 2005 7:33 pm Post subject: possible to use arrays or structs as parameter? |
|
|
Hi,
I would like to send/receive a list of strings as parameter.
is it possible to use arrays or structs as parameter in activeX controls?
thanks
Cagatay Undeger
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Mar 20, 2005 8:00 pm Post subject: Re: possible to use arrays or structs as parameter? |
|
|
"Cagatay Undeger" <cagatay (AT) interaktif (DOT) gen.tr> wrote
| Quote: | I would like to send/receive a list of strings as parameter.
|
The standard way (ie, the way that COM officially supports so that multiple
environments can utilize it) is to use a SAFEARRAY. You can then take it a
step further, if needed (which you do if you want to support VB and
scripting languages), by wrapping the SAFEARRAY into a VARIANT, with its vt
member set to VT+BSTR | VT_ARRAY and its parray member set to the SAFEARRAY.
Gambit
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|