10-18-2016, 01:52 PM
ok, i did get some improvements using VARIANT
Some fill correct datas
v=x.Name
out "Name: %S" v.pbstrVal
v=x.AdapterType
out "Type: %S" v.pbstrVal
v=x.AdapterTypeID
out "AdapterTypeID: %i" v.uintVal
v=x.Availability
out "Availability: %i" v.uintVal
some don't (like Status).
1. When v.vt = 1, means I can't access data from the variable (as x.Status)? any of variable type does generate type mismatch
2. Some are date (as x.TimeOfLastReset), using v.date is giving 00:00:00
ideas?
Some fill correct datas
v=x.Name
out "Name: %S" v.pbstrVal
v=x.AdapterType
out "Type: %S" v.pbstrVal
v=x.AdapterTypeID
out "AdapterTypeID: %i" v.uintVal
v=x.Availability
out "Availability: %i" v.uintVal
some don't (like Status).
1. When v.vt = 1, means I can't access data from the variable (as x.Status)? any of variable type does generate type mismatch
2. Some are date (as x.TimeOfLastReset), using v.date is giving 00:00:00
ideas?
