James Teh schrieb:
> Hi all,
> 
> Is there any chance that a dynamic parameter can be added to 
> comtypes.client.GetActiveObject? This would do the same as the dynamic 
> parameter to CreateObject. So, instead of:
> instance = 
> comtypes.client.dynamic.Dispatch(comtypes.client.GetActiveObject(progid, 
> interface=comtypes.automation.IDispatch))
> one could do:
> instance = comtypes.client.GetActiveObject(progid, dynamic=True)

Good idea!  I have implemented this in the repository now,
and also added the 'dynamic' parameter to comtypes.client.CoGetObject.

-- 
Thanks,
Thomas


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to