[python-win32] python COM-Server and VBScript

2006-06-22 Thread Frank Günther
Hi all,   I found a strange behaviour when I use a python-COM-Server together with VB. It seems that the first argument of a COM-Method that is passed by a VB-variable is set to VB-Nothing after the Method call.   For example if I use the code below: After calling   testSrvObj.SetVa

Re: [python-win32] SafeTerminateProcess and request forCreateRemoteThread()

2006-06-22 Thread Mark Hammond
> - The first is the request to include CreateRemoteThread in win32api > (which I will post on sourceforge) Done. > - Does anyone know a similarly safe way for terminating a process so > that a SIGINT/SIGTERM handler will still be called (without > the need for > a shared console or process g

Re: [python-win32] pywintypes24.dll necessary??

2006-06-22 Thread Bob Gailer
Dean Allen Provins wrote: > Hello: > > The user's requirement was for a batch program to process hundreds of files - > so > I wrote one on Linux, and ported it to WinXP Professional. It is a command > line > driven routine that works very well on Linux, but is hampered (as I > discovered) > by

[python-win32] pywintypes24.dll necessary??

2006-06-22 Thread Dean Allen Provins
Hello: The user's requirement was for a batch program to process hundreds of files - so I wrote one on Linux, and ported it to WinXP Professional. It is a command line driven routine that works very well on Linux, but is hampered (as I discovered) by the MS treatment of DOS windows (no copy/paste

[python-win32] pywintypes24.dll necessary?? follow-up info

2006-06-22 Thread Dean Allen Provins
Hello again: I forgot to indicate versions etc. python-2.4.3 numpy-0.9.6r1.win32-py2.4 pywin32-208.win32-py2.4 plus my python code in several modules. Regards, Dean Confidentiality Notice: The information transmitted herein may contain confidential, proprietary and/or privileged material w

Re: [python-win32] Pure Python Pythonwin.exe

2006-06-22 Thread Michael Foord
Mark Hammond wrote: >> Pythonwin the IDE has many fans, and I would like to get it >> working with >> Movable Python [#]_. >> > > Great! > > >> Pythonwin is launched with 'pythonwin.exe'. Presumably (I speak from >> ignorance here) this uses the registry to determine the >> installed Python

Re: [python-win32] Is pure-win32 GetWindowPlacement() available ?

2006-06-22 Thread Pierre Rouleau
Mark Hammond wrote: >>I have been looking for a wrapper for the Win32 function >>GetWindowPlacement() but could not find it in the latest version of >>Python for Windows extension (version 208). I saw a reference to >>PyCWnd.GetWindowPlacement() where a MFC CWnd is needed but could not >>find a pu

[python-win32] SafeTerminateProcess and request for CreateRemoteThread()

2006-06-22 Thread Stefan Rank
Hi, I spent some time finding a safe way to kill/terminate a process on Windows. Attached is my current version, modelled after a DDJ article. It should work for gui and console applications, has lots of unnecessary print output, uses ctypes for a call to CreateRemoteThread, and bypasses (I

Re: [python-win32] Is pure-win32 GetWindowPlacement() available ?

2006-06-22 Thread Mark Hammond
> I have been looking for a wrapper for the Win32 function > GetWindowPlacement() but could not find it in the latest version of > Python for Windows extension (version 208). I saw a reference to > PyCWnd.GetWindowPlacement() where a MFC CWnd is needed but could not > find a pure Win32 version. >