Gertjan Klein wrote:
Tim Roberts wrote:
However, I'll bet I know what it is. CPUID trashes ebx, and in the x86
calling sequence, that's supposed to be saved and restored.
That's it! Now, both Python 2.5 and 2.6 (and 3.1, if I change the print
statement) run this code successfully.
On 04/01/2010 21:18, Mike Driscoll wrote:
The OP should check out Tim Golden's winshell module as it gives access
to the common folders quite easily:
http://timgolden.me.uk/python/winshell.html
Thanks for the plug, Mike. Problem is that the
OP is after running this code on multiple machines
On 04/01/2010 17:06, Wade Dyck wrote:
[...]
At this point I want to use Win32_Process.create() to xcopy some files from
a third server, so I switch to delegation since impersonate won't allow
access to network resources:
remote = wmi.connect_server(server=self.server, user=r%s\%s
Dave Angel wrote:
On general principle, I'd use
push ebx
...
pop ebx
pairs around the cpuid instruction, if trashing ebx is a problem.
Seems to me it's safer than making any assumptions about implicit
saves/restores.
That's what the uses ebx clause that I added to the proc
Gareth Walters wrote:
Hi Nick,
I have done some python work before but I new to the COM stuff. I am
trying to Create a MXD and layers to it from python. I have been
looking at this PythonNet stuff and it is all getting a bit blurry.
I was wondering if you could give me some