gpt4 book ai didi

c# - 类型为 'BitmapHandle' 的 SafeHandle 或 CriticalHandle 无法正确释放具有值的句柄

转载 作者:行者123 更新时间:2023-11-30 15:29:15 25 4
gpt4 key购买 nike

在 WPF 应用程序中关闭 SplashScreen 时,我收到以下错误:

Message: A SafeHandle or CriticalHandle of type 'BitmapHandle' failed to properly release the handle with value 0xD0052B9B. This usually indicates that the handle was released incorrectly via another means (such as extracting the handle using DangerousGetHandle and closing it directly or building another SafeHandle around it.)
ReleaseHandleFailed was detected

最佳答案

这个问题似乎是本页提到的框架错误。

http://connect.microsoft.com/VisualStudio/feedback/details/720719/releasehandlefailed-thrown-by-mda-when-using-the-splash-screen-feature-of-wpf

在 VS 2010 中启用调试/异常“ALL”时,我在 Debug模式下收到此异常。

为了摆脱这个异常,我不得不在 VS 2010 中重置为默认调试/异常。

关于c# - 类型为 'BitmapHandle' 的 SafeHandle 或 CriticalHandle 无法正确释放具有值的句柄,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24158236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com