WMI query is working under vb but not under c++
- From: hean@xxxxxx
- Date: 7 Mar 2007 07:04:47 -0800
The following WMI query is working under vb but not under c++:
L"SELECT * FROM RegistryValueChangeEvent WHERE
Hive='HKEY_LOCAL_MACHINE' AND KeyPath='SYSTEM\\CurrentControlSet\
\Services\\qcusbser\\Enum' AND ValueName='Count'"
ExecNotificationQueryAsync() returns error code -2147217320, meaning
something like query could not be parsed...
How could this be? Other queries (e.g. __InstanceCreationEvent) are
working in the same environment.
Thanx in advance
heanii
.
- Prev by Date: WMI query is working und vb but not under c++
- Next by Date: RE: PowerShell providers for Exchange?
- Previous by thread: WMI query is working und vb but not under c++
- Next by thread: How to return the current process id, with GDI Object Count and The instance window title?
- Index(es):