BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Return value of varDispatch

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage
View previous topic :: View next topic  
Author Message
ptc
Guest





PostPosted: Mon Oct 06, 2003 5:01 pm    Post subject: Return value of varDispatch Reply with quote



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





PostPosted: Fri Oct 10, 2003 1:12 pm    Post subject: Re: Return value of varDispatch Reply with quote



< 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.
Quote:


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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi ActiveX Controls Usage All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.