FreeGadget error

Archives Forums/MaxGUI Bug Reports/FreeGadget error

Matt Merkulov(Posted 2011) [#1]
Sometimes when I free window gadget using FreeGadget (in windows) system crashes with "EXCEPTION_ACCESS_VIOLATION" error in IntWrapper Create method (tmpWrapper.value = value line) or TWindowsWindow TWindowProc method (local winrect[4] line). How to fix this?

Last edited 2011

Matt Merkulov(Posted 2011) [#2]
This error happened because I executed EndGraphics after drawing on the canvas. When I reverted to switching to main window's canvas instead, error vanished.

But this way whole GUI system doesn't repaint and work at all on Linux. It seems MaxGUI cross-platformity is in fact fake.

Last edited 2011