[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-users
Subject:    Re: Win32::OLE -- assignment to property of type IUnknown..how?
From:       Michael Ellery <mikee () s2technologies ! com>
Date:       2008-05-29 17:53:47
Message-ID: 483EEDAB.7060509 () s2technologies ! com
[Download RAW message or body]

Jan Dubois wrote:
> On Wed, 28 May 2008, Michael Ellery wrote:
>> I have a COM component with a property defined like this (IDL):
>>
>> [propput, id(30), helpstring("property TestSuite")] HRESULT
>> TestSuite([in] IUnknown *pVal);
> 
> Try adding a second line here:
> 
>   [propputref, id(30), helpstring("property TestSuite")] HRESULT
>   TestSuite([in] IUnknown *pVal);
> 
> (identical to the previous line, except propput => propputref).
> 
> Not sure if this is enough, but maybe it is sufficient to get the
> required IDispatch glue generated for you.
> 
> Cheers,
> -Jan


that seems to do the trick - thank you!

-Mike


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic