[Bug 31287] New: Visual Studio 2005 Trial "Server Explorer" needs IWbemClassObject::GetObjectText when inspecting Management Classes

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 22 13:23:13 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=31287

             Bug #: 31287
           Summary: Visual Studio 2005 Trial "Server Explorer" needs
                    IWbemClassObject::GetObjectText when inspecting
                    Management Classes
           Product: Wine
           Version: 1.5.9
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wmi&wbemprox
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: focht at gmx.net
    Classification: Unclassified


Hello,

Visual Studio 2005 "Server Explorer" also allows to inspect WMI classes.

"Server Explorer" -> "Servers" -> "<server>" -> "Management Classes" -> "<any
management class>" -> expand tree node or double click

Expanding the class node brings up an error dialog "Reason: The method or
operation is not implemented."

--- snip ---
0060:fixme:wbemprox:class_object_GetObjectText 0x1b738c0, 00000000, 0xfc2db68
0060:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b83965f
ip=7b83965f tid=0060
0060:trace:seh:raise_exception  info[0]=19930520
0060:trace:seh:raise_exception  info[1]=0fc2db58
0060:trace:seh:raise_exception  info[2]=79f9acc4
0060:trace:seh:raise_exception  eax=7b8265f9 ebx=7b8b16b0 ecx=79f9acc4
edx=0fc2da80 esi=00004000 edi=00000000
0060:trace:seh:raise_exception  ebp=0fc2dab8 esp=0fc2da54 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000287
0060:trace:seh:call_vectored_handlers calling handler at 0x406b98 code=e06d7363
flags=1
0060:trace:seh:call_vectored_handlers handler at 0x406b98 returned 0
0060:trace:seh:call_stack_handlers calling handler at 0x79f9ab98 code=e06d7363
flags=1
0060:trace:seh:call_stack_handlers handler at 0x79f9ab98 returned 1
0060:trace:seh:call_stack_handlers calling handler at 0x79f9abf8 code=e06d7363
flags=1
0060:trace:seh:__regs_RtlUnwind code=e06d7363 flags=3
0060:trace:seh:__regs_RtlUnwind calling handler at 0x7bc7713b code=e06d7363
flags=3
0060:trace:seh:__regs_RtlUnwind handler at 0x7bc7713b returned 1
0060:trace:seh:__regs_RtlUnwind calling handler at 0x79f9ab98 code=e06d7363
flags=3
0060:trace:seh:__regs_RtlUnwind handler at 0x79f9ab98 returned 1
0060:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b83965f
ip=7b83965f tid=0060
0060:trace:seh:raise_exception  info[0]=80004001
0060:trace:seh:raise_exception  eax=7b8265f9 ebx=7b8b16b0 ecx=80004001
edx=0fc2da74 esi=0fc2daec edi=e0434f4d
0060:trace:seh:raise_exception  ebp=0fc2dab4 esp=0fc2da50 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000287
0060:trace:seh:call_vectored_handlers calling handler at 0x406b98 code=e0434f4d
flags=1
...
--- snip ---

IWbemClassObject::GetObjectText method is not implemented.

Source:
http://source.winehq.org/git/wine.git/blob/fe79fea731bd31a5e07f6151ff165ac58f64a51b:/dlls/wbemprox/class.c#l384

--- snip ---
 384 static HRESULT WINAPI class_object_GetObjectText(
 385     IWbemClassObject *iface,
 386     LONG lFlags,
 387     BSTR *pstrObjectText )
 388 {
 389     FIXME("%p, %08x, %p\n", iface, lFlags, pstrObjectText);
 390     return E_NOTIMPL;
 391 }
--- snip ---

MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa391448%28v=vs.85%29.aspx

How the output of IWbemClassObject::GetObjectText should look like:

http://msdn.microsoft.com/en-us/library/windows/desktop/aa393247%28v=vs.85%29.aspx
(Retrieving Part of an Instance)

Additional useful information:

http://msdn.microsoft.com/en-us/library/ms974592.aspx (WMI Scripting Primer:
Part 2)

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list