|
-
December 21st, 2008, 10:59 PM
#9
Re: fail to get information from remote machine using WMI, vc 6
yes,i used the single step each line debugger
return S_OK indeed,
and
is not null, but i don't know what value it should be,
Code:
HRESULT hr = pEnumerator->Next(WBEM_INFINITE, 1,
&pclsObj, &uReturn);
if(0 == uReturn)
{
break;
}
after the call,uReturn returns 0 all the time,and "break" the "while" every time.
i don't know why uReturn always return 0.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|