Description
When using ImageGlass, an error occurs. After closing ImageGlass, Mactray immediately reports an error.
The detailed error report for MacTray is as follows:
The error details of ImageGlass are as follows:
Version: ImageGlass v9.3.2.520 (Store)
Release code: 1️⃣5️⃣🎂
Magick.NET: Magick.NET Q16-HDRI-OpenMP x64 net8.0 14.6.0
WebView2 Runtime: 136.0.3240.92
OS: Microsoft Windows NT 10.0.26100.0 64-bit
Error:
Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectN.IWICFormatConverter'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00000301-A8F2-4877-BA0A-FD2B6645FB94}' failed due to the following error: 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。 (0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL)).
System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'DirectN.IWICFormatConverter'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00000301-A8F2-4877-BA0A-FD2B6645FB94}' failed due to the following error: 因为应用程序正在发送一个输入同步呼叫,所以无法执行传出的呼叫。 (0x8001010D (RPC_E_CANTCALLOUT_ININPUTSYNCCALL)).
at DirectN.ComObject1.get_Object() at WicNet.WicBitmapSource.ConvertTo(Guid pixelFormat, WICBitmapDitherType ditherType, WicPalette palette, Double alphaThresholdPercent, WICBitmapPaletteType paletteTranslate) at D2Phap.DXControl.DXHelper.ToD2D1Bitmap(IComObject
1 dc, WicBitmapSource wicSrc, Nullable`1 bitmapProps)
at ImageGlass.Viewer.ViewerCanvas.DrawNavigationLayer(DXGraphics g) in D:_GITHUB@d2phap\ImageGlass\Source\Components\ImageGlass.Views\ViewerCanvas.cs:line 2111
at ImageGlass.Viewer.ViewerCanvas.OnRender(DXGraphics g) in D:_GITHUB@d2phap\ImageGlass\Source\Components\ImageGlass.Views\ViewerCanvas.cs:line 1606
at D2Phap.DXControl.DXCanvas.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at D2Phap.DXControl.DXCanvas.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)
The project address of ImageGlass is: https://github.com/d2phap/ImageGlass