Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Nagania on Wed 09/07/2008 05:15:28

Title: error error mal-malfunction
Post by: Nagania on Wed 09/07/2008 05:15:28
well, i encountered an error in the ags editor and was told to post it here.
it occured when i tried to open my custom textbox gui
it reads:

Error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Version: AGS 3.0.0.23

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at drawGUIAt(Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 , Int32 )
   at drawGUI(Int32 hdc, Int32 x, Int32 y, GUI guiObj, Int32 scaleFactor, Int32 selectedControl)
   at AGS.Native.NativeMethods.DrawGUI(Int32 hDC, Int32 x, Int32 y, GUI gui, Int32 scaleFactor, Int32 selectedControl)
   at AGS.Editor.GUIEditor.bgPanel_Paint(Object sender, PaintEventArgs e)
   at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


thanks,
nagania
Title: Re: error error mal-malfunction
Post by: Khris on Wed 09/07/2008 14:23:45
Try updating to the latest version.
Title: Re: error error mal-malfunction
Post by: Nagania on Fri 11/07/2008 06:21:39
ok, i'll try that, it's just i'm only just getting comfortable with 3.0
anyway, i'll try it out,

cheers,
nagania