Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterDataReady #337

Open
liningwangyi opened this issue Apr 27, 2022 · 1 comment

Comments

@liningwangyi
Copy link

go get -x github.com/sciter-sdk/go-sciter 出错啊。
../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:110:85: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterDataReady ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:141:85: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterDataReadyAsync ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:151:120: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterLoadFile ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:174:104: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterLoadHtml ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:242:142: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterSetCallback ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:296:60: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterSetCSS ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:319:110: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterSetMediaType ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:330:96: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterGetMinWidth ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:339:106: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterGetMinHeight ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:359:48: cannot use _cgo0 (type _Ctype_HWINDOW) as type unsafe.Pointer in argument to _Cfunc_SciterCall ../../../../go/pkg/mod/github.com/sciter-sdk/[email protected]/sciter.go:359:48: too many errors

@102286545
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants