Re: [python-win32] VIX (VMware API to control workstation) casting problem

2009-01-30 Thread Mark Hammond
On 31/01/2009 5:07 PM, Vinay Anantharaman wrote: ... The documentation(http://www.vmware.com/support/developer/vix-api/vix16_reference/lang/com/functions/GetProperties.html) says this: This function does not apply in VBScript, since it is not possible to access the IVixHandle interface of an

[python-win32] VIX (VMware API to control workstation) casting problem

2009-01-30 Thread Vinay Anantharaman
Hi, I am trying to cast from one object type to another type. Which is ISnapshot to IVixHandle. My code: #Dispach + connecting to lib and getting a handle to a VM root = vmHandle.GetRootSnapshot(0)[1] rootC = root.GetChild(0)[1] ivixHandle = win32com.client.CastTo(rootC, 'IVixHandle') name = iv

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Tolonen
"Mark Hammond" wrote in message news:4983e381.5030...@gmail.com... [snip] If either of you - or anyone else with experience in this area - are brave and willing to test this out, I'll send you an email with the location of a build you can grab and see if (or hopefully how ) things have impr

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Hammond
On 31/01/2009 4:16 PM, Mark Tolonen wrote: "Mark Hammond" wrote in message news:4983818b.1090...@gmail.com... Please file a bug and I'll try and nail it before the next release (pythonwin itself is now much more unicode aware - it now even allows each file to have its own encoding - but I'm yet

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Tolonen
"Mark Hammond" wrote in message news:4983818b.1090...@gmail.com... Please file a bug and I'll try and nail it before the next release (pythonwin itself is now much more unicode aware - it now even allows each file to have its own encoding - but I'm yet to implement the encoding detection beyon

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Tolonen
"Elias Fotinis" wrote in message news:910266.84177...@web52901.mail.re2.yahoo.com... --- On Fri, 1/30/09, Mark Tolonen wrote: Two days ago I changed Control Panel, Regional and Language Options, Advanced tab, "Select a language to match the language version of the non-Unicode programs you wa

Re: [python-win32] Pb SxS for install

2009-01-30 Thread Mark Hammond
On 31/01/2009 11:23 AM, Tim Roberts wrote: Mark Hammond wrote: IIUC, we have determined that unless the CRT assembly is installed globally, every .DLL or .EXE which references the VC9 CRT must have a copy of that CRT next to itself. For example, if python26.dll references the CRT and socket.pyd

Re: [python-win32] Pb SxS for install

2009-01-30 Thread Tim Roberts
Mark Hammond wrote: > IIUC, we have determined that unless the CRT assembly is installed globally, > every .DLL or .EXE which references the VC9 CRT must have a copy of that CRT > next to itself. For example, if python26.dll references the CRT and > socket.pyd references the CRT via its menifest,

Re: [python-win32] Bug? Can't resize watch window when displayed on 2nd monitor.

2009-01-30 Thread Mark Hammond
On 31/01/2009 9:08 AM, bob gailer wrote: Bug? Can't resize watch window when displayed on 2nd monitor. This works for me on Python 2.6, but does behave strangely on Python 2.5. I suspect this is a bug in MFC fixed in the later version used by 2.6 builds. Cheers, Mark _

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Hammond
Please file a bug and I'll try and nail it before the next release (pythonwin itself is now much more unicode aware - it now even allows each file to have its own encoding - but I'm yet to implement the encoding detection beyond detecting a BOM...) Note I'm not that familiar with changing lang

Re: [python-win32] Pb SxS for install

2009-01-30 Thread Mark Hammond
Thanks for testing this. > - With the same conditions as yesterday, your new installer > (pywin32-212.7.win32-py2.6.exe) run OK. But, after, it's my softwares > who > have SxS problem!!! What problems exactly? IIUC, we have determined that unless the CRT assembly is installed globally, every .DL

[python-win32] Bug? Can't resize watch window when displayed on 2nd monitor.

2009-01-30 Thread bob gailer
Bug? Can't resize watch window when displayed on 2nd monitor. -- Bob Gailer Chapel Hill NC 919-636-4239 ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] How to calc amount of avail RAM in a process ?

2009-01-30 Thread Tim Roberts
Tony Cappellini wrote: > > While monitoring The task manager/Performance Tab > > It seems as though Windows XP is almost always paging, even when all > of available memory > is not being used. > > This doesn't make sense and seems to be wasteful. Why should the OS be > wasting time paging, when it

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Elias Fotinis
--- On Fri, 1/30/09, Mark Tolonen wrote: > Two days ago I changed Control > Panel, Regional and Language Options, Advanced tab, > "Select a language to match the language version of the > non-Unicode programs you want to use:" from > "English (United States)" to "Chinese > (PRC)" to work with Pyth

Re: [python-win32] How to calc amount of avail RAM in a process ?

2009-01-30 Thread Tony Cappellini
Tim While monitoring The task manager/Performance Tab It seems as though Windows XP is almost always paging, even when all of available memory is not being used. This doesn't make sense and seems to be wasteful. Why should the OS be wasting time paging, when it doesn't need to (aka when all of a

[python-win32] Pythonwin crashes everytime

2009-01-30 Thread David Xiao
Hi pythonwin users, Pythonwin crashes everytime when I simply type several lines of text in it. What could be the reason? vista, python 2.6.1, pywin32 build 212. BTW, i have tried on XP sp3, python 2.5.4, crashed as well! BR, David ___ python-win32 ma

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Tolonen
"Dahlstrom, Roger" wrote in message news:70d9b06b9e99ee4e98e4893703ada1411199a3e...@exchange1.global.knight.com... Tried it in a few versions on a couple computers, and was unable to reproduce. -Original Message- From: python-win32-bounces+rdahlstrom=directedge@python.org [mailto:

Re: [python-win32] Serious bug in pywin32?

2009-01-30 Thread Dahlstrom, Roger
Tried it in a few versions on a couple computers, and was unable to reproduce. -Original Message- From: python-win32-bounces+rdahlstrom=directedge@python.org [mailto:python-win32-bounces+rdahlstrom=directedge@python.org] On Behalf Of Mark Tolonen Sent: Friday, January 30, 2009 9:

[python-win32] Serious bug in pywin32?

2009-01-30 Thread Mark Tolonen
Today I ran PythonWin and accidentally typed 'python' at the interactive prompt out of habit, since I often use the cmd prompt instead. PythonWin immediately crashed. I re-ran PythonWin and tried again. Same crash. Ran again...typed 'import os'. No crash, but the interactive prompt hung. A

Re: [python-win32] Pb SxS for install

2009-01-30 Thread Michel Claveau
Re! I hope you understand me, and my very bad english. - For tests, I use virtual computers (Virtualbox), and I restore the test-machine between each test. - I try on a: Vista-home-premium (like "new, taken out of factory") + IE-8 rc1 ; french versions - With the same conditions as yeste