Exception:尝试读取或写入受保护的内存。这通常指示其他内存已损坏。

报错信息 1
AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
StackTrace:
   在 System.Windows.Forms.UnsafeNativeMethods.IntCreateDC(String lpszDriver, String lpszDeviceName, String lpszOutput, HandleRef devMode)
   在 System.Windows.Forms.UnsafeNativeMethods.CreateDC(String lpszDriver)
   在 System.Windows.Forms.Screen..ctor(IntPtr monitor, IntPtr hdc)
   在 System.Windows.Forms.Screen.MonitorEnumCallback.Callback(IntPtr monitor, IntPtr hdc, IntPtr lprcMonitor, IntPtr lparam)

版本:1.44.12 2025-05-19 20:58 Microsoft Windows NT 10.0.22631.0