Closed pandason125 closed 2 months ago
the err postion code: func (i *ICoreWebView2Controller) MoveFocus(reason COREWEBVIEW2_MOVE_FOCUS_REASON) error { var err error
_, _, err = i.vtbl.MoveFocus.Call(
uintptr(unsafe.Pointer(i)),
uintptr(reason),
)
if err != windows.ERROR_SUCCESS {
return err
}
return nil
}
may be must modify it like this:
func (i *ICoreWebView2Controller) MoveFocus(reason COREWEBVIEW2_MOVE_FOCUS_REASON) error { var err error
_, _, err = i.vtbl.MoveFocus.Call(
uintptr(unsafe.Pointer(i)),
uintptr(unsafe.Pointer(&reason)),//get adress
)
if err != windows.ERROR_SUCCESS {
return err
}
return nil
}
when other window can not eject from system Taskbar ,code is triggering this bug
Thanks for reporting. Fixed 👍
when the app run a moment or open a new windows may be prompt “ The system cannot find the file specified.”and exit