[python-win32] HTTP Server as a Windows Service

2008-02-22 Thread Mike Smith
I've written the following script based on information I have found on the web. The purpose of the script is to start an HTTP listener on the machine it's running on that will give status on a particular process running on that system that can be polled by an external load balancer to determine

[python-win32] Help calling IProgressDialog Interface

2008-02-22 Thread Larry Bates
I've spent all morning searching and I just can't seem to find the TypeLibrary name for this COM interface. I've searched the registry, scanned COM browser list at least a dozen times, etc. Some information about this COM object is located here: http://www.com.it-berater.org/COM/windows_shell

Re: [python-win32] HTTP Server as a Windows Service

2008-02-22 Thread Larry Bates
Mike Smith wrote: > I've written the following script based on information I have found on > the web. The purpose of the script is to start an HTTP listener on the > machine it's running on that will give status on a particular process > running on that system that can be polled by an external

Re: [python-win32] Help calling IProgressDialog Interface

2008-02-22 Thread Thomas Heller
Larry Bates schrieb: > I've spent all morning searching and I just can't seem to find the > TypeLibrary > name for this COM interface. I've searched the registry, scanned COM browser > list at least a dozen times, etc. Some information about this COM object is > located here: > > http://www.

[python-win32] Wrapper Windows Installer API functions, ctypes, .dll

2008-02-22 Thread Erik Fløisbonn
Hello, I am creating a .dll that I load in python with ctypes. The .dll calls Windows Installer API functions (like MsiEnumProducts). I am having trouble calling these functions from python. When I import the msilib (or _msi) that comes with python, the function calls work. But when I do not import

Re: [python-win32] Wrapper Windows Installer API functions, ctypes, .dll

2008-02-22 Thread Tim Roberts
Erik Fløisbonn wrote: > Hello, I am creating a .dll that I load in python with ctypes. The > .dll calls Windows Installer API functions (like MsiEnumProducts). I > am having trouble calling these functions from python. When I import > the msilib (or _msi) that comes with python, the function cal

Re: [python-win32] Wrapper Windows Installer API functions, ctypes, .dll

2008-02-22 Thread Tim Roberts
Erik Fløisbonn wrote: > > Heh, I see that I was lucky with the backslashes. > > "link /dump /exports msi.dll" gives the following output: Did I say /exports? I see that I did. That was dumb. I meant to say /imports instead. However, "depends" does the same thing. > When I open the .dll in '

Re: [python-win32] Help calling IProgressDialog Interface

2008-02-22 Thread Larry Bates
Thomas Heller wrote: > Larry Bates schrieb: >> I've spent all morning searching and I just can't seem to find the >> TypeLibrary >> name for this COM interface. I've searched the registry, scanned COM >> browser >> list at least a dozen times, etc. Some information about this COM object is >

Re: [python-win32] Help calling IProgressDialog Interface

2008-02-22 Thread Thomas Heller
> Ok, I downloaded that project, and stripped out the TLB. I then got comtypes > and was able to use comtypes.client.GetModule to generate the typelib wrapper > module for it: > > >>> GetModule("progdlg.tlb") > 'C:\Python25\lib\site-packages\comtypes\gen\_2F2719A2_83CC_11D3_A08C_0040F6A4BFEC_