-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Exception:算术运算导致溢出。 #886
Comments
重写 OnSourceInitialized 方法确认过可以解决这个问题吗? |
看起来是可以的。目前hc:Window类里已经有HookProc,我觉得加上这个判断应该不会产生额外的负担却可以避免崩溃,还是值得的。 |
ok |
我感觉这是应该在 WPF 框架处理的,我准备在底层处理 |
在哪个版本的 .NET 中修复了? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这不是一个HC的bug,但是应该可以在HC里加以规避处理。
现象
在个别人的电脑上会出现一个奇怪的异常:
相关信息
在StackOverflow上找到一个相关的帖子:
https://stackoverflow.com/questions/33287542/what-would-cause-wm-nchittest-lparam-to-overflow-a-32-bit-integer
里面有人贴了一个一个网址:
https://developercommunity.visualstudio.com/t/overflow-exception-in-windowchrome/167357
提到的解决方法:
其它相关链接:
The text was updated successfully, but these errors were encountered: