System.AccessViolationException: 尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
在System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef hdc,Object lf, IntPtr& font)
在System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
在System.Drawing.Font.FromHfont(IntPtr hfont)
在System.Drawing.SystemFonts.get_DefaultFont()
在System.Windows.Forms.Control.get_DefaultFont()
在System.Windows.Forms.Control.GetDefaultFontHandleWrapper()
在System.Windows.Forms.Control.get_FontHandle()
在System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions()
在System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions()
在System.Windows.Forms.ContainerControl.get_AutoScaleFactor()
在System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds,Boolean excludedBounds)
在System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
在System.Windows.Forms.ContainerControl.OnLayoutResuming(Boolean performLayout)
在System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
在Microsoft.Xna.Framework.WindowsGameForm..ctor()
在Microsoft.Xna.Framework.WindowsGameWindow..ctor()
在Microsoft.Xna.Framework.WindowsGameHost..ctor(Game game)
在 Microsoft.Xna.Framework.Game.EnsureHost()
在Microsoft.Xna.Framework.Game..ctor()
在Magicka.Game..ctor()
在Magicka.Game.get_Instance()
在Magicka.GlobalSettings..ctor()
在Magicka.GlobalSettings.get_Instance()
在Magicka.Program.Main(String[] args)
0xffffffffSystem.Drawing.dll->System.Drawing.SafeNativeMethods+Gdip.GdipCreateFontFromLogfontW
0x003aSystem.Drawing.dll->System.Drawing.Font.FromLogFont
0x0029System.Drawing.dll->System.Drawing.Font.FromHfont
0x009e System.Drawing.dll->System.Drawing.SystemFonts.get_DefaultFont
0x0007System.Windows.Forms.dll->System.Windows.Forms.Control.get_DefaultFont
0x0007System.Windows.Forms.dll->System.Windows.Forms.Control.GetDefaultFontHandleWrapper
0x006c System.Windows.Forms.dll->System.Windows.Forms.Control.get_FontHandle
0x002dSystem.Windows.Forms.dll->System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions
0x0026System.Windows.Forms.dll->System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions
0x0000 System.Windows.Forms.dll->System.Windows.Forms.ContainerControl.get_AutoScaleFactor
0x0032System.Windows.Forms.dll->System.Windows.Forms.ContainerControl.PerformAutoScale
0x0012System.Windows.Forms.dll->System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout
0x0006System.Windows.Forms.dll->System.Windows.Forms.ContainerControl.OnLayoutResuming
0x0023System.Windows.Forms.dll->System.Windows.Forms.Control.ResumeLayout
0x00f8Microsoft.Xna.Framework.Game.dll->Microsoft.Xna.Framework.WindowsGameForm..ctor
0x000cMicrosoft.Xna.Framework.Game.dll->Microsoft.Xna.Framework.WindowsGameWindow..ctor
0x0019Microsoft.Xna.Framework.Game.dll->Microsoft.Xna.Framework.WindowsGameHost..ctor
0x0010Microsoft.Xna.Framework.Game.dll->Microsoft.Xna.Framework.Game.EnsureHost
0x008aMicrosoft.Xna.Framework.Game.dll->Microsoft.Xna.Framework.Game..ctor
0x002a Magicka.exe->Magicka.Game..ctor
0x0021 Magicka.exe->Magicka.Game.get_Instance
0x0089 Magicka.exe->Magicka.GlobalSettings..ctor
0x0021 Magicka.exe->Magicka.GlobalSettings.get_Instance
0x0171 Magicka.exe->Magicka.Program.Main