Re: [python-win32] wbemtest might be interesting

2011-01-17 Thread Tim Golden
On 16/01/2011 23:16, Stef Mientki wrote: I certainly don't want to promote wbemtest as a replacement for your fabuluous WMI module !! But for more complex things, where there is no example in your excellent WMI pages, often examples in Visual Basic can be found. Translating these VB examples t

[python-win32] About COM

2011-01-17 Thread Somnath Naskar
Hi All, I am having an issue with 64 bit machine while using COM interface.I am describing my problem in details 1. I have a 64 bit machine and there I have installed python 64 bit and 64 bit win32 module. 2. In that machine I have installed Lotus Domino Admin Client of 32 bit version(becaus

Re: [python-win32] Trouble with SetWindowLong().

2011-01-17 Thread david.briant
You can use PostThreadMessage instead of PostMessage. To get the address of a python WndProc I use ctypes: WNDPROC = WINFUNCTYPE(c_int, c_ulong, c_ulong, c_ulong, c_ulong) lpfnwndproc = WNDPROC(wndproc) where: def wndproc(hWnd, Msg, wParam, lParam): ... I intercept WM_QUIT for shutdown -

Re: [python-win32] About COM

2011-01-17 Thread Tim Roberts
Somnath Naskar wrote: > > I am having an issue with 64 bit machine while using COM interface.I > am describing my problem in details > > 1. I have a 64 bit machine and there I have installed python 64 bit > and 64 bit win32 module. > 2. In that machine I have installed Lotus Domino Admin Client

Re: [python-win32] Trouble with SetWindowLong().

2011-01-17 Thread Tim Roberts
Ben Timby wrote: > I don't think I am going to end up using a WndProc as that brings a > lot of overhead, namely the need to call PumpWaitingMessages() or > similar. The solution I am looking at right now is to simply create a > hidden window and then call PeekMessage() passing it's hwnd. This > po

[python-win32] Fetching Battery Monitor Data

2011-01-17 Thread FT
Hi Mark, I could not find using Google any information on how to get the Laptop Battery Level information so I could have my Screen Reader Or voices from Sapi to talk the information. So, I would need the modules or a sample code that fetches the data from that location on the screen.

[python-win32] DDE and OLE/COM

2011-01-17 Thread RayS
Does anyone have experience transitioning an old DDE (Python) app to OLE/COM with PyWin32? Pointers or links? Ray Schumacher Programmer/Consultant ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-w

[python-win32] what's required to use win32com in a portable python directory.

2011-01-17 Thread Naveen Garg
Is it possible to use win32com without setting up registry keys ? ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] what's required to use win32com in a portable python directory.

2011-01-17 Thread Tim Roberts
Naveen Garg wrote: > Is it possible to use win32com without setting up registry keys ? A COM server can only be accessed through the registry. So, if you are writing a COM server, then you must create registry keys. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ___

Re: [python-win32] About COM

2011-01-17 Thread Somnath Naskar
On Tue, Jan 18, 2011 at 12:24 AM, Tim Roberts wrote: > Somnath Naskar wrote: > > > > I am having an issue with 64 bit machine while using COM interface.I > > am describing my problem in details > > > > 1. I have a 64 bit machine and there I have installed python 64 bit > > and 64 bit win32 mo

Re: [python-win32] what's required to use win32com in a portable python directory.

2011-01-17 Thread david.briant
I don't know if that's just true for pywin32 but in general you don't need to register COM dlls if you provide manifest files. Google for side-by-side sxs registryless regfree. Also this company are helpful - helped me use reg-free COM and .NET together - http://www.mazecomputer.com/. David

Re: [python-win32] what's required to use win32com in a portable python directory.

2011-01-17 Thread david.briant
I don't know if that's just true for pywin32 but in general you don't need to register COM dlls if you provide manifest files. Google for side-by-side sxs registryless regfree. Also this company are helpful - helped me use reg-free COM and .NET together - http://www.mazecomputer.com/. David