Ive just got around to updating my MAx to the latest SVN. I now have a problem with getchar() and waitkey().
Im getting an "Unhandled Memory Exception Error" after pressing a key.
I've traced it to the bbSystemWait() in system.win32.bmx
Is there something im missing ?
Im getting an "Unhandled Memory Exception Error" after pressing a key.
I've traced it to the bbSystemWait() in system.win32.bmx
Strict Framework brl.GLMax2D Import maxgui.Win32MaxGUI SetGraphicsDriver GLMax2DDriver() Local X:Int = ClientWidth(Desktop()) / 2 - 200 / 2 Local Y:Int = ClientHeight(Desktop()) / 2 - 200 / 2 Local Window:tgadget = CreateWindow("TEST", X, Y, 200, 200, Null, WINDOW_TITLEBAR | WINDOW_CLIENTCOORDS) Local BCanvas:tgadget = CreateCanvas(ClientWidth(Window)/2-200/2, ClientHeight(Window)/2-200/2, 200, 200, Window) Local TG_Canvas:TGraphics = CanvasGraphics(BCanvas) SetGraphics TG_Canvas ShowGadget Window ActivateGadget BCanvas EnablePolledInput() WaitKey()
Is there something im missing ?