I'm implementing a WMI interface in Delphi VCL, I managed to have it working, but I'm now trying to make it a little more robust. The portion of code I'm working on is this: var FWbemServices: ISWbemServices; WMIObject: ISWbemObjectSet; WMISQLQuery: String; FCount: Integer; ... FWbemServices := FWbemLocator.ConnectServer('', 'root\CIMV2', '', '', [...] read more
We have a .NET application that uses WMI to gather a wide range of information on machines throughout a network, such as reading the Win32_NTLogEvent to see if Symantec Antivirus has written anything. The queries work fine, but after repeatedly running a WMI query "Generic Failure" errors will start coming [...] read more
Short: What could cause an out-of-memory error when registering a WQL event query (error code 0x80041006)? How can we investigate the cause? Long: We keep getting an out-of-memory exception when trying to register a specific WQL event query in the MicrosoftDNS provider in a windows 2003 R2 server. We can [...] read more