|
-
May 2nd, 2010, 02:20 PM
#1
Thread Starter
Hyperactive Member
Return array from VB2008 function in COM DLL to VBScript
I've spent quite some quality time with Google, and found that this is a common problem, but the solution has this far eluded me.
I am building a COM DLL in VB2008 Express and have a function that returns an array. VBScript refuses to recognize it as an array though. When I use VarType to check the subtype it tells me 8, which means string. So I checked the value, and apparently it's 'System.Object[]'. I thought I must have messed up the function itself so I checked the result from the VB side, before the function returns it, but over there it's an array all right. That leaves me out of ideas....
Anyone have any tips?
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
|