WebView:Fixed a panic (see Attachment) of open new browser window in IE 10. #695
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
=====================
Attachment :
panic: Error: ULong() v.Vt != VT_UI4, ptr=0xa79a260, value=&{Vt:3 reserved:[0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}
goroutine 1 [running, locked to thread]:
github.com/lxn/win.(*VARIANT).MustULong(...)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/oleaut32.go:240
github.com/lxn/walk.webView_DWebBrowserEvents2_Invoke(0xc000764940, 0x111, 0x7feefcec600, 0x0, 0x1, 0xa79a1c0, 0x0, 0x0, 0x0, 0x4)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/webview_dwebbrowserevents2.go:212 +0x11d9
syscall.Syscall(0x776d6680, 0x2, 0x4081e, 0xe76c890, 0x0, 0x0, 0x0, 0x0)
D:/Go/src/runtime/syscall_windows.go:188 +0xe9
github.com/lxn/win.IsDialogMessage(0x4081e, 0xe76c890, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/user32.go:2747 +0x72
github.com/lxn/walk.(*FormBase).mainLoop(0xc000545000, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/mainloop_default.go:35 +0xdc
github.com/lxn/walk.(*FormBase).Run(0xc000545000, 0x0)
E:/GoLangPRoject/pkg/mod/github.com/lxn/[email protected]/form.go:373 +0xd7