Menu

Known issues

Colin Leach

Known Issues at Release

Windows incompatibility

  • MinGW under Win7 fails to compile at the line #include <sys socket.h="">. This may need a major rewrite to use Winsock2 instead of Posix sockets.
  • CygWin gives no error messages, but the client code fails to communicate correctly with the graphics server.

Graphics server must be started manually

Do this BEFORE running your own code. I'm still looking for a portable way for InitGraphics() to launch it automatically when necessary.

Limits on running multiple programs simultaneously

The graphics server is a shared resource, and multitasking (e.g. Maze in one window, Boggle in another) fails by default. You may be able to work around this by running server instances on different ports, but this hasn't been tested.

Graphics area may not size or clip consistently

Graphics should be confined within the gray rectangle, but drawing outide this has rather unpredictable effects. Resizing the outer window (by dragging the corner) does nothing useful.

GetXResolution() and GetYResolution() aren't truly implemented

No idea how to do this, so both functions just return a const 100 pixels/inch.
This may not give the scaling you wanted!


Related

Wiki: CS106 Libraries