Michael Curran schrieb:
> Hi Thomas,
> 
> Your definition of IServiceProvider works perfect for me.
> 
> I am happy for it to go in comtypes/__init__.py, but for now though, 
> again I have attached a servprov.py with your changes, plus 
> testQueryService.py which is some code that shows how IServiceProvider 
> can be used.
> running testQueryService.py starts Internet Explorer, navigates to 
> 'about:blank', and query interface to IServiceProvider on the body 
> element, and uses queryService to get to an IAccessible (MSAA) object.
> 
> Hope this code will be useful enough to be made in to a testcase.

Yes, your code is good.  I created a unittest based on it
(comtypes\test\test_QueryService.py) and added the IServiceProvider
interface to comtypes\__init__.py.

Thanks for the patch!

> Mick

Thomas


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to