bug or not bug?

S

SnakeS

From Win32_NetworkAdapter I see the index of network device into register,
but the index of one device selected, it isn't present.
Win32_NetworkAdapter.Index return 524291and into register there isn't.

Why? Bug WMI Win32_NetworkAdapter?

If the index isn't present how tha class can view this device?

mmm

thanks in advance :)
 
V

Viatcheslav V. Vassiliev

How do you get index property? If you use C++ or other low-level language,
check type of returned Variant - it could be VT_BSTR and in this case you
should convert it into interger.

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE
 
S

SnakeS

No, you don't understand.

My application running on some computer and it always ok, exception do
on one only machine in one only device network return an index of that
value.

If I read the register at

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318}\

I don't see the device with that index ... it happened only once.. and
in one only computer...

now ... what do I?

Sorry for my bad english. :(

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top