|
-
October 22nd, 1999, 05:26 PM
#1
Passing Arrays from VB Client to a VC++ DCOM Server
Hi,
I am trying to pass an Array of BSTRs from a VB client to a DCOM server implemented in VC++ running in MTS.
My API is expecting a ([in] VARIANT MyArray)
In my VB client, I am creating a dynamic array of strings and passing that as parameter to my DCOM function.
In my server, I am getting my SAFEARRAY count correctly, but when I try to access the data, I am not getting the data. When I look at the SAFEARRAY in server, MyArray.parray contained a pointer to my string.
I am not sure what I am doing wrong. ANy help would be greatly appreciated.
Thanks,
Krishna.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|