StackExchange / wmi

WMI for Go
http://godoc.org/github.com/StackExchange/wmi
MIT License
433 stars 173 forks source link

Can't build on windows amd64 with golang 1.9.2 #33

Closed xiaonanln closed 6 years ago

xiaonanln commented 6 years ago

Got error:

github.com/xiaonanln/goworld/vendor/github.com/StackExchange/wmi

vendor\github.com\StackExchange\wmi\wmi.go:377:22: safeArray.ToValueArray undefined (type *ole.SafeArrayConversion has no field or method ToValueArray)

xiaonanln commented 6 years ago

ToValueArray is in the master of go-ole, but not in releases. By using go-ole master solves this problem.