Hi Mitch,

I've just gone to rerun this on my machine and it failed with the exact same 
error message that you reported initially.

The only thing that has changed since it worked is I compiled the typelibs.

I have just tested this on another box, and compiling the Microsoft WMI 
Scripting Library typelib definitely breaks it.

Anybody else got any thoughts on this?

Matt


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Mitch Oliver
Sent: 08 August 2011 15:35
To: [email protected]
Subject: Re: [python-win32] Calling GetText_(1)

On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS <[email protected]> wrote:
> Does c.Msvm_VirtualSystemManagementService()[0] actually return anything?

Yes.  This returns a wmi_object:
<_wmi_object: 
\\server_name\root\virtualization:Msvm_VirtualSystemManagementService.CreationClassName="Msvm_VirtualSystemManagementService",Name="vmms",SystemCreationClassName="Msvm_ComputerSystem",SystemName="server_name">

Per your other response, I have run makepy on two of those libraries.
WMI ADSI Extension Library is not available in Windows 7.

What version of Windows are you using?
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Warwickshire Schools Email System

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.  If 
you have received this email in error please forward to: 
[email protected].

If the content of this email is considered to be inappropriate or offensive 
please report by forwarding to: [email protected]
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to