Thomas Heller wrote:

> I would very much like to fix this issue, but I still have to find one

> or two COM objects (on my system) that use both 'propput' and 
> 'propputref' for the same property.
> It would be great if someone can help me to construct some test cases.

I know that the ArcGIS COM API has at least one example where a property
has both propput and propputref, but to the best of my knowledge its for
functionality that I've never needed to use.  I'll see if I can dredge
up the specifics.

My off-the-cuff thought: generate a helper that calls the propputref if
the value is a COM pointer, and the propput otherwise.

I suspect that a fair bit of code that might otherwise need this uses a
VARIANT parameter instead and thus avoids the apparent duplication.

Regards,
Andrew.

-------------------------> "These thoughts are mine alone!" <---------
Andrew MacIntyre           National Licensing and Allocations Branch
tel:   +61 2 6219 5356     Inputs to Industry Division
fax:   +61 2 6253 3277     Australian Communications & Media Authority
email: [EMAIL PROTECTED] 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to