Re: [pywin32-bugs] problem on conversor
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@sk...> - 2009-08-28 23:43:29
|
This bugs list is for the automated delivery of mail generated by the sourceforge bug tracker. It isn't used as a place to report bugs or get support - bugs should be reported directly in the sourceforge page, or if you are asking for support you might like to resend your question to the python-win32 mailing list. You need to be subscribed to the list before you can post to it - see http://mail.python.org/mailman/listinfo/python-win32 for subscription options. Regards, Mark On 29/08/2009 8:06 AM, Patricio Stegmann wrote: > Hello to all, > > I am trying to use an activex component that has a property named Display: > > """ > _prop_map_get_ = { > "AcquisitionMode": (1610743818, 2, (3, 0), (), "AcquisitionMode", None), > "Display": (1610743816, 2, (3, 0), (), "Display", None), > "TimeOut": (1610743820, 2, (3, 0), (), "TimeOut", None), > } > _prop_map_put_ = { > "AcquisitionMode": ((1610743818, LCID, 4, 0),()), > "Display": ((1610743816, LCID, 4, 0),()), > "TimeOut": ((1610743820, LCID, 4, 0),()), > } > """ > > This works: > > print l__acq.Display > > > However this doesnt: > > l__acq.Display = 135780 # 135780 is the handle to a window on my screen > > and I get this: > > *** com_error: (-2147467262, 'Interfaz no compatible', None, None) > > > It seems that pywin is correctly converting from 1610743816 to an int, > but is not doing the other way (from int to win handle variant). > Is there a way to create a Variable of that type 1610743816 somehow ? > > Thank you ! > > ------------------------------------------------------------------------ > With Windows Live, you can organize, edit, and share your photos. > <http://www.microsoft.com/middleeast/windows/windowslive/products/photo-gallery-edit.aspx> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > 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 > > > ------------------------------------------------------------------------ > > _______________________________________________ > pywin32-bugs mailing list > pyw...@li... > https://lists.sourceforge.net/lists/listinfo/pywin32-bugs |