I try to get the sample driver of the firefly working.
It doesn't pass the following statements in the sample:
hResult = m_pIWbemServices->PutInstance(
m_pIWbemClassObject,
WBEM_FLAG_UPDATE_ONLY,
NULL,
NULL );
if ( hResult != WBEM_S_NO_ERROR ) {
_tprintf( TEXT("Failed to save the instance,")
TEXT(" %s will not be updated.\n"),
lpProperty );
At first I got the error messages from the if statement. But after some
hacking I now get blue screens at the first command. How to proceed??
Thanks already
Gert
|
|
0
|
|
|
|
Reply
|
Utf
|
10/10/2010 9:13:03 AM |
|
After getting an error message I reposted the same message.
Please answer the other one
"Gert" wrote:
> I try to get the sample driver of the firefly working.
> It doesn't pass the following statements in the sample:
>
> hResult = m_pIWbemServices->PutInstance(
> m_pIWbemClassObject,
> WBEM_FLAG_UPDATE_ONLY,
> NULL,
> NULL );
>
> if ( hResult != WBEM_S_NO_ERROR ) {
> _tprintf( TEXT("Failed to save the instance,")
> TEXT(" %s will not be updated.\n"),
> lpProperty );
>
> At first I got the error messages from the if statement. But after some
> hacking I now get blue screens at the first command. How to proceed??
>
> Thanks already
> Gert
>
|
|
0
|
|
|
|
Reply
|
Utf
|
10/10/2010 9:27:04 AM
|
|