Re: [python-win32] Probelm with win32api dll load failed

2011-05-04 Thread DonAmit
You can do this easy by adding this to the options dict in setup.py 'dll_excludes': [ mswsock.dll, powrprof.dll ] source: http://stackoverflow.com/questions/1979486/py2exe-win32api-pyc-importerror-dll-load-failed -Amit Andrew Spagnoletti wrote: Hi, ? I have developed an application

Re: [python-win32] DispatchWithEvents

2011-05-04 Thread Mark Hammond
On 4/05/2011 12:39 AM, Michael Illgner wrote: 2011/5/3 Mark Hammondmhamm...@skippinet.com.au: There is nothing magic about events - you need to provide your own magic :) All the calls are still normal blocking calls - so if you want a model where methods on your com object are done in the

[python-win32] Problem Automating IE on W7

2011-05-04 Thread Jeff Peery
Hello, I'm using the code pasted below to print a document with internet explorer. The code worked great on my XP machine. I moved it to my W7 machine and it gives the error below. The weird thing is that it works great if printing a html doc from the web (such as

Re: [python-win32] Problem Automating IE on W7

2011-05-04 Thread Tim Roberts
Jeff Peery wrote: I'm using the code pasted below to print a document with internet explorer. The code worked great on my XP machine. I moved it to my W7 machine and it gives the error below. The weird thing is that it works great if printing a html doc from the web (such as www.google.com

Re: [python-win32] Problem Automating IE on W7

2011-05-04 Thread Jeff Peery
This is just a standard html doc. As simple as it gets. -Original Message- From: python-win32-bounces+jeffpeery=seametrics@python.org [mailto:python-win32-bounces+jeffpeery=seametrics@python.org] On Behalf Of Tim Roberts Sent: Wednesday, May 04, 2011 11:39 AM To: Python-Win32

Re: [python-win32] DispatchWithEvents

2011-05-04 Thread Mark Hammond
[re-added the mailing list - please keep everything there] On 4/05/2011 6:09 PM, Michael Illgner wrote: 2011/5/4 Mark Hammondmhamm...@skippinet.com.au: On 4/05/2011 12:39 AM, Michael Illgner wrote: If everything is happening in a free-threaded context though, no message loop is generally