|
-
Nov 13th, 2006, 07:14 PM
#1
Thread Starter
New Member
Passing SAFEARRAY
I have problems calling a COM dll.
One of its methods needs 2 parameters:
VARIANT * (array of float)
VARIANT * (array of BSTR)
the first parameter is [in] the second is [out]
how should I define those parameters in VB6?
I tried:
Dim flt as Variant
Dim bstr as Variant
ReDim flt(0 to 15) as Single
ReDim bstr(0 to 3) as String
but the program crash (without saying anything) during the call
Thanks in advance
Alessandro
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
|