returning list of strings from Python COM to Visual basic 6

Philippe C. Martin philippe at philippecmartin.com
Wed Jul 20 16:32:31 EDT 2005


Sorry, it was in the book: Variant !

Regards;

Philippe



Philippe C. Martin wrote:

> Hi,
> 
> Is it possible ?
> 
> ex: return ['1','2']
> 
> If so which type should I use in VB ?
> 
> dim res as ???????
> 
> Set testObj = CreateObject("xxxx")
> 
> res = testObj.AMethodThatReturnsAListOfStrings()
> 
> 
> Thanks,
> 
> Philippe




More information about the Python-list mailing list