lxn / win

A Windows API wrapper package for the Go Programming Language
Other
1.21k stars 315 forks source link

Golang version compatibility issues #29

Closed StaticLove closed 7 years ago

StaticLove commented 7 years ago

At present, the latest version of golang is 1.8.3, when I run this project will be given the error,as follows:

../../github.com/lxn/win/advapi32.go:82: too many arguments in call to syscall.Syscall
    have (uintptr, number, uintptr, number, number)
    want (uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/advapi32.go:94: too many arguments in call to syscall.Syscall6
    have (uintptr, number, uintptr, uintptr, uintptr, uintptr, uintptr, number)
    want (uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/advapi32.go:106: too many arguments in call to syscall.Syscall6
    have (uintptr, number, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
    want (uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/advapi32.go:121: too many arguments in call to syscall.Syscall9
    have (uintptr, number, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, number)
    want (uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/advapi32.go:132: too many arguments in call to syscall.Syscall6
    have (uintptr, number, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
    want (uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/comctl32.go:207: too many arguments in call to syscall.Syscall
    have (uintptr, number, uintptr, uintptr, uintptr)
    want (uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/comctl32.go:216: too many arguments in call to syscall.Syscall
    have (uintptr, number, uintptr, uintptr, uintptr)
    want (uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/comctl32.go:228: too many arguments in call to syscall.Syscall6
    have (uintptr, number, uintptr, uintptr, uintptr, uintptr, uintptr, number)
    want (uintptr, uintptr, uintptr, uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/comctl32.go:237: too many arguments in call to syscall.Syscall
    have (uintptr, number, uintptr, number, number)
    want (uintptr, uintptr, uintptr, uintptr)
../../github.com/lxn/win/comctl32.go:246: too many arguments in call to syscall.Syscall
    have (uintptr, number, uintptr, uintptr, uintptr)
    want (uintptr, uintptr, uintptr, uintptr)

I think it should be the project is not compatible with the current version of golang, I would like to ask the author will consider continuing to maintain this project?