| View previous topic :: View next topic |
| Author |
Message |
ptc Guest
|
Posted: Mon Oct 06, 2003 5:01 pm Post subject: Return value of varDispatch |
|
|
I have imported a dll that has a var prameter of type oleVariant. The data
type that is returned after making the function call is a varDispatch. It
should return a 2 dimensional array or a type of varArray. Is there any
way to convert the varDispatch to varArr so I can use it in a
TClientDataset? ie cds.data := returnedOleVariant;
|
|
| Back to top |
|
 |
Deborah Pate (TeamB) Guest
|
Posted: Fri Oct 10, 2003 1:12 pm Post subject: Re: Return value of varDispatch |
|
|
<
The data type that is returned after making the function
call is a varDispatch. It should return a 2 dimensional
array or a type of varArray.
Well, it actually returns an interface, so that interface
probably has a method to let you get at the data. You could
try calling the default method (dispid = 0), but otherwise
you really need to find out what the returned interface is.
--
Deborah Pate (TeamB) http://delphi-jedi.org
TeamB don't see posts sent via Google or ISPs
Use the real Borland server: newsgroups.borland.com
http://www.borland.com/newsgroups/genl_faqs.html
|
|
| Back to top |
|
 |
|