[Bug 31033] New: Multiple apps need IWbemServices::GetObject to retrieve WMI class instances
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Jun 26 18:46:43 CDT 2012
http://bugs.winehq.org/show_bug.cgi?id=31033
Bug #: 31033
Summary: Multiple apps need IWbemServices::GetObject to
retrieve WMI class instances
Product: Wine
Version: 1.5.7
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,
continuation of bug 20651
Multiple apps still fail to query for WMI classes/properties because
IWbemServices::GetObject method is not implemented (they use a different
method).
One app is bug 28682 (Ragnarok downloader)
Example .NET code:
--- snip ---
ManagementClass class2 = new ManagementClass("Win32_Processor");
foreach (ManagementObject obj2 in class2.GetInstances())
{
if (str == string.Empty)
{
str = obj2.Properties["ProcessorId"].Value.ToString();
}
}
--- snip ---
MSDN:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa392109%28v=vs.85%29.aspx
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